Export to GitHub

struts2-jquery - issue #263

Multiple TinyMCE in one page


Posted on Aug 6, 2010 by Grumpy Elephant

What steps will reproduce the problem? 1. In showcase, modify page "richtext-tinymce-advanced.jsp" (see attached file) and add theses lines before submit button : <sjr:tinymce id="test2" name="test2" rows="10" cols="80" width="700" editorTheme="simple" value="Test 2" />

  1. Go into Firefox and see the result in "More Widgets > Richtext - Tinymce (Advanced)"

  2. Compare with http://tinymce.moxiecode.com/examples/example_04.php

What is the expected output? What do you see instead? One of editor don't work, no buttons appear in front of advanced editor. Using IE 6.0, it's worst ! The first time the page is loaded, it's the same as FireFox, but the next times, nothing work correctly. There is a javascript error during loading page and no buttons appear in both editors.

Which struts2 version? 2.1.8.1

Which struts2-jquery plugin version? 2.3.1

Please provide any additional information below. IE 6.0 et Firefox 3.6.8

Attachments

Comment #1

Posted on Aug 10, 2010 by Swift Lion

this should be fixed in current trunk.

http://code.google.com/p/struts2-jquery/source/detail?r=1166

Comment #2

Posted on Aug 18, 2010 by Grumpy Elephant

I download the snapshot of 2.4.0 and I test results. It's better. The correction works with two 'editorTheme="simple"' any time. But with attached page, with one 'editorTheme="simple"' and one 'editorTheme="advanced"', both works the first time you call the page. But next time, 'editorTheme="advanced"' don't load correctly. Just for this one, no buttons appear in editors.

I hope my comment is clear for you...

Comment #3

Posted on Aug 18, 2010 by Swift Lion

looks like a tinymce bug.

http://sourceforge.net/tracker/?func=detail&atid=635685&aid=2018479&group_id=103281

Comment #4

Posted on Sep 7, 2010 by Swift Lion

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium Component-Richtext-Plugin Milestone-2.4.0