Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Eysermans 2 posts 22 karma points
    Aug 09, 2010 @ 12:58
    Peter Eysermans
    0

    Rich Text Editor - Removing files

    I am using Umbraco 4.5 and have defined a few styles for the rich text editor. All goes well, the styles appear in the drop down and adding them works correctly. The problem occurs when I try to remove a style that consists of a class (example: .subtitle) I keep getting a JavaScript error. Removing h3 or h4 styles is no problem.

    I get the following JavaScript error:

    styles.selectedValue is null
    if (styles.selectedValue.indexOf('.') == 0) {

    I've tried adding a style with an empty alias as suggested somewhere on the forum but that also gave me a javascript error

    formatList is undefined
    var formatList = get(name), format = formatList[0], bookmark, rng, i;

    Is this a known issue? Does anyone know a trick to bypass this? All help is highly appreciated!

  • MartinB 411 posts 512 karma points
    Aug 09, 2010 @ 13:43
    MartinB
    0

    How do you remove them?

    Have you made a p class to revert back to normal text?

  • Peter Eysermans 2 posts 22 karma points
    Aug 09, 2010 @ 15:22
    Peter Eysermans
    0

    I have read in the forum that when you click on the 'Styles' option in the drop down this removes the styles. As mentioned above this works voor Headers but not for css classes. I have also tried to make an option with an empty alias but that didn't work out either.

    I've now tried making a p class to revert back to normal but that also gives me a javascript error.

Please Sign in or register to post replies

Write your reply to:

Draft