What steps will reproduce the problem?
1. Construct an application/page with a THtmlArea
2. When attempting to configure the "advanced" theme TinyMCE as described
in the TinyMCE documentation, do as instucted an set the following in
prop.Options:
theme : "advanced"
theme_advanced_buttons2 : ""
theme_advanced_buttons3 : ""
3. Load the page, and see all three rows of buttons present and full of
their buttons.
What is the expected output? What do you see instead?
There should be the default button-row 1, with no button rows 2 or 3. But,
since TJavaScript::encode() will eliminate any empty-value elements from
the resulting object, these parameters are not passed on to TinyMCE.init()
What version of the product are you using? On what operating system?
Prado 3.1.4
Please provide any additional information below.
If you simply remove the if() construct that eliminates empty values from
the array (TJavaScript.php line 161), the empty value will be passed to
TinyMCE, which will then work as expected.
Original issue reported on code.google.com by ChrisRos...@gmail.com on 15 Apr 2009 at 5:12
Original issue reported on code.google.com by
ChrisRos...@gmail.com
on 15 Apr 2009 at 5:12