We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eaece7 commit 10f7503Copy full SHA for 10f7503
src/collective/ckeditor/browser/ckeditor5/plonelink/plonelinkui.js
@@ -12,14 +12,11 @@ export default class PloneLinkUI extends LinkUI {
12
view.urlInputView.label = 'Plone Link';
13
view.children.first.label = 'Plone Link';
14
view.children.last.children.add(this._createBrowseButton(view), 1);
15
- view.on('plone_set_url', (evt, data) => {
+ this.editor.on('plone_set_url', (evt, data) => {
16
view.urlInputView.fieldView.value = data.url;
17
view.fire('submit');
18
this._showUI();
19
});
20
- this.editor.on('plone_set_url', (evt, data) => {
21
- view.fire('plone_set_url', data);
22
- });
23
return view;
24
}
25
0 commit comments