Paragraph Dropdown

Last post 12-04-2007, 12:07 AM by dermagier. 2 replies.
Sort Posts: Previous Next
  •  12-03-2007, 10:47 AM 35599

    Paragraph Dropdown

    Hi there.
     
    I already found something similar but as that solution does not seem to work I publish my concern anyway.
     
    I want to add the following to the common.config file:
     
    <item text="textsmall" value="textsmall">
      <html><![CDATA[<span class='textsmall'>textsmall</span>]]></html>
    </item>
     
    Indeed this paragraph is displayed in the dropdown box but if I assign it to any text the result in HTML mode is just
    <div>text</div>
     
    Sometimes it's even
    text

    It neither works using the <div> tag (insted of <span>).
     
    I know I could use the CSS dropdown - at least theoratical - but CuteEditor seems not to be able to interpret all CSS conventions:
    #content .text .textsmall
     
    If I do so the concerning CSS dropdown remains empty.
     
    What can I do???
     
    Thanks and regards,
    Stephen
  •  12-03-2007, 11:10 AM 35603 in reply to 35599

    Re: Paragraph Dropdown

    Stephen,
     
    1.  This CSS item will not work in paragraph dropdown. You need to put it into Css Dropdown.
     
    2. If you want Cute Editor use the Css definitions in common.config, you need to set this property to false:
     
    Editor.AutoParseClasses Property
     
    3.   >>but CuteEditor seems not to be able to interpret all CSS conventions:
    #content .text .textsmall
     
    Change it to:
     
    .text
    {
    }
     
    .textsmall
    {
    }

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-04-2007, 12:07 AM 35613 in reply to 35603

    Re: Paragraph Dropdown

    Thanks for your apply. That's what I supposed.
     
    The pitty is: the mentioned CSS (and the concerning site) are already programmed and it's not possible to change them anymore just because CuteEditor seems not to be able to handle with regular inheritance.
     
    But thanks anyway. I'll see if just come up with something different.
View as RSS news feed in XML