suyati / line-control

A Light Weight HTML5 Text Editor designed as a JQuery Plugin
Other
124 stars 90 forks source link

Multiple editors on one page #40

Closed tills98 closed 8 years ago

tills98 commented 9 years ago

How can I use this Editor twice on one page? If I create two textarea's with same class (here .form-control) only one editor is shown. The first textarea is hidden. Field for textarea:

Editor declaration: $('textarea.form-control').Editor();

How can I solve this problem?

xOneca commented 9 years ago

You must call Editor() for each textarea individually. Editor() will not do it for you.

prharish07 commented 7 years ago

I had called each Editors individually and thats showing good all. Bu the issue now is, if I tried to upload the image for the second editor , its inserting into the first editor only . How can I make work each image upload of each editor works itself not all to the first editor

please reply me as fast as possible