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.
Each editor has a data-target specific to the editor div (by id), but whenever I edit one, like add a bullet point, it adds the bullet point to all of them.
So, for instance
<divclass="btn-toolbar" data-role="editor-toolbar" data-target="#editor1"><divclass="btn-group"><aclass="btn btn-default" data-edit="bold" data-original-title="Bold (Ctrl/Cmd+B)" title="Bold"><iclass="fa fa-bold"></i></a><aclass="btn btn-default" data-edit="italic" data-original-title="Italic (Ctrl/Cmd+I)" title="Italic"><iclass="fa fa-italic"></i></i></a><aclass="btn btn-default" data-edit="underline" data-original-title="Underline (Ctrl/Cmd+U)" title="Underline"><iclass="fa fa-underline"></i></i></a></div></div><divid="editor1"></div><textareaclass="form-control body-description hidden" id="hidden-editor" name="description"></textarea><!-- editor html goes into here via jQuery, works great -->
$('#editor1').wysiwyg();
Then I have a second instance, all the same stuff, except the id is editor2 instead of editor1, then editor3, editor4, etc... but all of them seem to target eachother regardless of whatever I set the data target to?
Help?
The text was updated successfully, but these errors were encountered:
Each editor has a data-target specific to the editor div (by id), but whenever I edit one, like add a bullet point, it adds the bullet point to all of them.
So, for instance
Then I have a second instance, all the same stuff, except the id is editor2 instead of editor1, then editor3, editor4, etc... but all of them seem to target eachother regardless of whatever I set the data target to?
Help?
The text was updated successfully, but these errors were encountered: