Hi,
The editor works perfect in development, however when I package the project I get the following JavaScript error and the editor does not display.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'VaadinClassicEditor') at UO.getEditorByType at UO.createEditor at UO.firstUpdated at UO._$AE at UO.performUpdate at UO.scheduleUpdate at UO._$Ej
very simply used as such:
var editor = new VaadinCKEditorBuilder().with(builder -> { builder.editorData = "<p>This is a classic editor sample.</p>"; builder.editorType = Constants.EditorType.CLASSIC; }).createVaadinCKEditor(); editor.setLabel(caption);
The project is Java 17, vaadin 24.1.4, packaged with maven.
How do I get this to work when packaged?
Thanks in advance, Laura.