This question about Topic Markup Language and applications: Answered
WYSIWYG editor removes additional img attributes
I wanted to implement basic image zooming functionality using MojoMagnify
It requires adding additional attribute inside
I've stumbled upon 2 issues:
1. When I add the tag in Raw Edit mode, save, works OK. But editing again removes the attribute from the <img> tag.
I suppose the case is that wysiwyg plugin is parsing the attributes during reading of the html source, but doesn't save back.
Which leads to another question:
2. How to ("for dummies version" please) modify wysiwyg plugin (or macro or whatever) to be able to add this attribute to images "automatically"?
"dumbs down" the HTML in an attempt to make it fit into TML (Topic Markup Language). This includes discarding unrecognisable attributes. You can discourage WysiwygPlugin from doing this to a fine degree of control, which can include individual attributes on individual tags. See the WysiwygPlugin documentation on
for more details. All the documentation is written by dummies.
- 10 Oct 2009
Thanks, it helped! And I don't agree that documentation is written by dummies. At least not Foswiki's one
- 15 Oct 2009
| Subject || Topic Markup Language and applications |
| Extension || WysiwygPlugin |
| Version || Foswiki 1.0.6 |
| Status || Answered |