taoguan / jwysiwyg

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

executing $().wysiwyg() more than once causes problems, #189

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i don't know whether i'm the first to notice, but, if you tried to execute 
$().wysiwyg() on a textarea more than once it will create another div.wysiwyg.
i expect that, the textarea with a pre-wysiwyg enabled shouldn't accept the 
call.

Original issue reported on code.google.com by abduljaw...@gmail.com on 14 Jun 2010 at 2:26

GoogleCodeExporter commented 8 years ago
Retry with 0.91

http://github.com/akzhan/jwysiwyg/downloads

Original comment by akzhan.a...@gmail.com on 25 Jun 2010 at 4:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i tried that but it doesn't work.
however, this version is a lot better than the 0.6, i wonder why the you don't 
update the google code repository.
i hope you check the RTL issue & implement the way i used ti implment the RTL 
in this version.

i'm still having problem if i called $.wysiwyg(); more than once.

rgrds

Original comment by abduljaw...@gmail.com on 26 Jun 2010 at 7:11

GoogleCodeExporter commented 8 years ago
Please give me two examples (first with RTL, and second with multiple calls to 
wysiwyg).

I'll review and fix 'em.

I have no sufficient rights to update downloads and wiki sections here.

Original comment by akzhan.a...@gmail.com on 27 Jun 2010 at 9:13

GoogleCodeExporter commented 8 years ago
i don't know why do you need an example, you just can use one of the examples 
provided & duplicate the $().wysiwyg(); line to see that the wysiwyg div is 
duplicated too.

Original comment by abduljaw...@gmail.com on 27 Jun 2010 at 3:17

GoogleCodeExporter commented 8 years ago
Okay, I understood the trouble. Landed by 
http://github.com/akzhan/jwysiwyg/commit/f3f324a032a5c9402d6efcc35fed8d5b4ee423d
4

Original comment by akzhan.a...@gmail.com on 27 Jun 2010 at 7:34