Hi, I’m having some problems and some wishes…(Vaadin 14.2.0 Java 11)
Using a binder with existing data: The editor doesn’t show the text but the binder and editor.getValue() both have the data. I’m getting an JS-Error “(TypeError) this.editorMap[editorId]
is undefined”. But the id is defined via builder and via setId?
ckNotiz = new VaadinCKEditorBuilder().with(builder → {
builder.editorId = “KBckEditor”;
builder.editorType = EditorType.CLASSIC;
builder.uiLanguage = Language.de;
builder.theme = ThemeType.LIGHT;
}).createVaadinCKEditor();
ckNotiz.setId(“KBckEditor”);
What’s wrong there?
The german Language File is loaded from https://www.wontlost.com/translations/de.js. I had to open my content security policy settings. If the file can’t be loaded, the editor won’t be displayed (no fallback to english). How is it possible to use a local translation-file?
The class VaadinCKEditor has no public constructor, so it is not possible to extend the class. In my case, I’ve tried to add an html-sanitizer for security in the setValue-method.
Hi, having same issue (1.) with Vaadin 14.3.0 and 14.3.3. Data is not loaded, but saving is ok. Did not try with id set, but there is no such requirements in examples.