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
{{ message }}
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.
I'm using this plugin in a page that contains multiple instances of the editor (dynamically created, one fixed), but I need to have a single toolbar dynamically binded into the correct editor (I'm using Knockout 3.2).
I've already read issue #52 (#52) (expecially Makusu answer) and I've binded the code as below:
< div data-role="editor-toolbar" data-bind="attr: {'data-target' : $root.toolbarBind}" >
where $root.toolbarBind is the ID of the editor selected.
However, when I click some button on the toolbar, it modifies only the first of the editors, the fixed one. If I use the keyboard shortcut, they work flawlessy.
What could possibly went wrong?
The text was updated successfully, but these errors were encountered:
Good morning everyone,
I'm using this plugin in a page that contains multiple instances of the editor (dynamically created, one fixed), but I need to have a single toolbar dynamically binded into the correct editor (I'm using Knockout 3.2).
I've already read issue #52 (#52) (expecially Makusu answer) and I've binded the code as below:
$('.editor').wysiwyg({ toolbarSelector: '[data-role=editor-toolbar]'} );
and for the toolbar
< div data-role="editor-toolbar" data-bind="attr: {'data-target' : $root.toolbarBind}" >
where $root.toolbarBind is the ID of the editor selected.
However, when I click some button on the toolbar, it modifies only the first of the editors, the fixed one. If I use the keyboard shortcut, they work flawlessy.
What could possibly went wrong?
The text was updated successfully, but these errors were encountered: