In this article I will gather some of the hazards I’ve experienced with Umbraco 4.7.
Problem: The rich text editor removes id-attributes for some elements
Solution 1: http://forum.umbraco.org/yaf_postst9654_TinyMCERichtext-editor-stripping-out-id-attribute.aspx
Solution 2: http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-(tinymce)/allow-any-markup-in-the-tinymce-editor
E.g. if a listem is added like this in the HTML view
<li id=”item1>Item1</li>
it gets rewritten by the TincyMCE Editor (yes, Umbraco’s rich text editor is based on TinyMCE) as
<li>Item1</li>
Problem: How to setup a development environment so that as much of the customization as possible can be maintained in Visual Studio and placed under source control.
Solution: To be documented.
Problem: How to use an IFrame (e.g. in order to integrate a Google Map) in the rich text editor.
Solution: Wrap the IFrame in a macro (xslt or usercontrol), and then insert the macro in the rich text editor. Make sure to check the "Use in editor" checkbox on the "Macro Properties" tab in order for the macro to be available from the rich text editor.
Problem: Link to document suddenly starts pointing to '#'.
Solution: Right-click on the root page and select 'Publish', make sure to select the checkboxes that includes childpages. NOTE: Right-clicking the top 'Content' node and 'Republish entire site' will not help.
No comments:
Post a Comment