Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.9.0alpha1, 4.1.0
-
None
-
Operating System: Linux FC9
PHP Version: 5.2.9
Database and version: MySQL 5.0.22
Browser (and version): FF3.0.10
ezpublish: 4.0.1rc2
ezoe trunk rev-3390
SVN Client version: 1.5.2
Description
Currently you can't seem to add a custom-tag to any non-paragraph text. The custom tag button inside ezoe becomes greyed-out/disabled as soon as you select any non-paragraph text - like a heading-2 or heading-3 for example.
Commenting lines 1026:1027 of ezoe/design/standard/javascript/themes/ez/editor_template.js "fixes" this and I can now add super/sub-script custom-tags to headings.
However, there is obviously a reason why these are disabled by default in ezoe but I can't think why. Sub and sup at least are allowed under XHTML Transitional and Strict.
I have some of my own custom - "custom-tags", which simply insert some dynamic strings (a span element and a string of text) which is obviously inline markup and should be able to be inserted into a heading or any other elements.
I had originally thought about submitting this as a bug, André has asked this to be submitted as an 'enhancement' to some changes made here: http://issues.ez.no/011618
This was originally posted at on the ezoe v5 thread at:
http://ez.no/developer/forum/extensions/call_for_testers_new_online_editor/(offset)/280
Steps to reproduce
- Create a new article
- Type some text
- Mark it up as a heading-2 for example
- Try to select the 'Add/insert custom tag' button from the ezoe toolbar - you can't - it's greyed-out.