Opened 13 years ago

Closed 12 years ago

#2333 closed defect (duplicate)

Editor2 htmlEditing toggle problem - IE6 on PC.

Reported by: jujhimup Owned by: liucougar
Priority: high Milestone:
Component: Editor Version: 0.4.1
Keywords: editor, editor2, htmlediting Cc:
Blocked By: Blocking:

Description

when toggling between html source editing and normal/wyswiwyg editing using editor2 n IE 6, each click of the toggle button seems to create an extra tag around the whole content.

for example, go to here in IE 6: http://dojotoolkit.org/~liucougar/dojo/src/widget/templates/Editor2/test_EditorToolbarFullFeature.html

then do this:

  1. type in some text.<br />
  2. highlight it, and select 'main heading' from the 'format' dropdown.<br />
  3. now click on the '<html>' button to toggle to HTML source editing.<br />
  4. youll notice that there should be '<h1>your text entered</h1>'.<br />
  5. toggle back to normal editing.<br />
  6. toggle back to HTML source again.<br />
  7. this time - there is an extra <h1> tag wrapped around the whole of the content.<br />
  8. if you toggle again, there will be another <h1> tag wrapped around everything.<br />
  9. each time you toggle, another tag will be added ... so if you toggle 50 times, there will be 50 wrapping <h1> tags.<br />

needless to say, in firefox this works fine - so it is just an IE problem (isnt it always ... :D)

NOTE REGARDING VERSION: im not sure what version the above link is using - but i have 0.3 installed on one of my sites that also has this problem, so i guess it exists throughout all versions.

regards jujhimup

Change History (1)

comment:1 Changed 12 years ago by liucougar

Resolution: duplicate
Status: newclosed

dup of #2073

Note: See TracTickets for help on using tickets.