Alanaktion / lwrte

Automatically exported from code.google.com/p/lwrte
0 stars 0 forks source link

[Request] I would like to convert any div to lwrte, not only textarea #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I think it would be good feature to be able to convert any DIV element to
lwrte editor, not just textarea

Original issue reported on code.google.com by energijapanikoj@gmail.com on 22 Jan 2009 at 10:34

GoogleCodeExporter commented 8 years ago
Hmmmm...it's impossible with current realisation. But you can try  next thing:
convert DIV into the teaxtarea and after that convert that textarea into lwrte. 
To
finalize changes (to turn back into the DIV), you can create new button "Save" 
for
example and create that magic there).

p.s.: the task of that jquery plugin - turn on any textarea into the lwrte 
(that can
be configured easily for any special project). nothing more. It never will be a
plugin for all possible situations.

Original comment by plandem on 26 Jan 2009 at 9:51

GoogleCodeExporter commented 8 years ago

Original comment by plandem on 31 Jan 2009 at 10:18

GoogleCodeExporter commented 8 years ago
hmm... i've managed to hack it to convert any div quite easily:
on 80 line - var content    = $(self.textarea).html();

Original comment by energijapanikoj@gmail.com on 3 Feb 2009 at 12:41