On the same page there are multiple bootstrap-wysiwyg, how can edit the format in different editors, such as center, left aligned.
Now the situation is, if I edit the first editor, the other will be the same format changes.
who can help me ,thanks very much!!!
Same problem, solved by using
$("#editor-1").wysiwyg({ toolbarSelector: '[data-target="#editor-1"]' })
and using data-target="#editor-1" attribute on toolbar
On the same page there are multiple bootstrap-wysiwyg, how can edit the format in different editors, such as center, left aligned. Now the situation is, if I edit the first editor, the other will be the same format changes. who can help me ,thanks very much!!!