You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disabling premium features gives an error "Path to the script is not specified".
Code below:
Config config = new Config();
List<Constants.Plugins> plugins = List.of(Constants.Plugins.ExportPdf, Constants.Plugins.ExportWord);//premium feature which needs a license
config.setRemovePlugins(plugins);
VaadinCKEditor classicEditor = new VaadinCKEditorBuilder().with(builder -> {
builder.editorData = "This is a classic editor sample.";
builder.editorType = Constants.EditorType.CLASSIC;
builder.theme = Constants.ThemeType.DARK;
builder.config = config;
}).createVaadinCKEditor();
error: Error: Path to the script is not specified. at JS._validateSrc (VAADIN/build/generated-flow-imports-CYMl0Y6c.js:16562:1478) at new JS (VAADIN/build/generated-flow-imports-CYMl0Y6c.js:16562:1276) at yt._loadWscbundle (VAADIN/build/generated-flow-imports-CYMl0Y6c.js:16747:1923) at yt.init (VAADIN/build/generated-flow-imports-CYMl0Y6c.js:16747:982)
How to correctly disabe premium features?
With premium features turned on everyting works fine!
In application.properties I have: vaadin.allowed-packages=com.vaadin,org.vaadin,dev.hilla,com.wontlost
The text was updated successfully, but these errors were encountered:
deep-space-explorer
changed the title
Disabling premiium features gives an error "Path to the script is not specified"
Disabling premium features gives an error "Path to the script is not specified"
May 21, 2024
Disabling premium features gives an error "Path to the script is not specified".
Code below:
error:
Error: Path to the script is not specified. at JS._validateSrc (VAADIN/build/generated-flow-imports-CYMl0Y6c.js:16562:1478) at new JS (VAADIN/build/generated-flow-imports-CYMl0Y6c.js:16562:1276) at yt._loadWscbundle (VAADIN/build/generated-flow-imports-CYMl0Y6c.js:16747:1923) at yt.init (VAADIN/build/generated-flow-imports-CYMl0Y6c.js:16747:982)
How to correctly disabe premium features?
With premium features turned on everyting works fine!
In application.properties I have:
vaadin.allowed-packages=com.vaadin,org.vaadin,dev.hilla,com.wontlost
The text was updated successfully, but these errors were encountered: