diff --git a/README.md b/README.md index b174ba9..3f6c7c6 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,22 @@ Use standard jQuery methods to access and set content and focus. You can also as $('#editor').cleanHtml() ``` +Multiple Editors on the Same Page +----------- +You can initialize and use multiple instances of the editor on the same page, however, each editor specified in HTML must have a unique `data-role` specified. + +For example: +```html +
A tiny, opensource, Bootstrap WYSIWYG rich text editor - @@ -13,7 +12,7 @@ - + diff --git a/examples/clear-formatting.html b/examples/clear-formatting.html index 1f52e20..c8ac225 100644 --- a/examples/clear-formatting.html +++ b/examples/clear-formatting.html @@ -5,7 +5,6 @@ A tiny, opensource, Bootstrap WYSIWYG rich text editor - @@ -95,7 +94,7 @@

Simple Editor with Toolbar

- + - + - + - + - + - + - +