The Remove Formatting button of the WYSIWIG editor does not seem to work in version 4.0.3.
I upgraded an Umbraco installation from 4.0.0 to 4.0.3, and I find the following: The stylesheet properties I defined in the Settings section show up in TinyMCE as expected, and when selecting an element style (such as h1 and h2), everything works fine, i.e. the editor enters a line of text and hits enter and the next line is back to the default paragraph style. When selecting a style class (such as .redHeader and .blueText), the editor enters a line of text and hits enter, and the next line is still formatted in that style, at which point the editor hits Remove Formatting to return to the default paragraph style. However in 4.0.3 the Remove Formatting button does not work, so there is no way for the editor to get back to the normal paragraph style, or even to remove styles from copy when they no longer want the copy to be formatted.
I always add a style to the dropdown list called 'Paragraph Text' and use the alias of 'p'. That way users can specifically select a generic <p> tag if they want it.
I also have a 'Heading 1' through 'Heading 3' as well. It makes the users comfortable as this feels kind of like MS Word, which most are familiar with.
Thanks for the reply Doug. I've actually tried adding a style called Paragraph with p as the alias. Strangely selecting a paragraph style still does not clear the formatting. Everyghing works fine with version 4.0.0, just after the upgrade TinyMCE started doing this. I'm specifically referring to class styles here (e.g. .redHeader and .blueText) because element styles (e.g. h1 and h2) automatically clear when clicking Enter and starting a new line. Wonder if it's just my installation.
Found a workaround for this: Like Doug mentioned you can add a paragraph "style" to clear formatting of elements. So to clear formatting of style classes, add a "No style" style. So under the stylesheet, add a stylesheet property called "No style", give it an alias ".NoStyle", and leave the Styles field empty. It may be confusing for editors to have both a "Paragraph" and a "No style" available in the TinyMCE editor style drop-list, so since my project requires giving editors access to specific styles, I converted all the element styles I needed to use to class styles, and only use class styles in TinyMCE.
TinyMCE Remove Formatting in Umbraco 2.0.3
Hello,
The Remove Formatting button of the WYSIWIG editor does not seem to work in version 4.0.3.
I upgraded an Umbraco installation from 4.0.0 to 4.0.3, and I find the following: The stylesheet properties I defined in the Settings section show up in TinyMCE as expected, and when selecting an element style (such as h1 and h2), everything works fine, i.e. the editor enters a line of text and hits enter and the next line is back to the default paragraph style. When selecting a style class (such as .redHeader and .blueText), the editor enters a line of text and hits enter, and the next line is still formatted in that style, at which point the editor hits Remove Formatting to return to the default paragraph style. However in 4.0.3 the Remove Formatting button does not work, so there is no way for the editor to get back to the normal paragraph style, or even to remove styles from copy when they no longer want the copy to be formatted.
Anyone else experience this? Any suggestions?
Thanks
Correction: The post topic should read "TinyMCE Remove Formatting in Umbraco 4.0.3"
I always add a style to the dropdown list called 'Paragraph Text' and use the alias of 'p'. That way users can specifically select a generic <p> tag if they want it.
I also have a 'Heading 1' through 'Heading 3' as well. It makes the users comfortable as this feels kind of like MS Word, which most are familiar with.
cheers,
doug.
Thanks for the reply Doug. I've actually tried adding a style called Paragraph with p as the alias. Strangely selecting a paragraph style still does not clear the formatting. Everyghing works fine with version 4.0.0, just after the upgrade TinyMCE started doing this. I'm specifically referring to class styles here (e.g. .redHeader and .blueText) because element styles (e.g. h1 and h2) automatically clear when clicking Enter and starting a new line. Wonder if it's just my installation.
Found a workaround for this: Like Doug mentioned you can add a paragraph "style" to clear formatting of elements. So to clear formatting of style classes, add a "No style" style. So under the stylesheet, add a stylesheet property called "No style", give it an alias ".NoStyle", and leave the Styles field empty. It may be confusing for editors to have both a "Paragraph" and a "No style" available in the TinyMCE editor style drop-list, so since my project requires giving editors access to specific styles, I converted all the element styles I needed to use to class styles, and only use class styles in TinyMCE.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.