Cute Editor 6.4: problem assing Css Class to Selected Tag

Last post 09-18-2009, 9:39 AM by Adam. 3 replies.
Sort Posts: Previous Next
  •  09-16-2009, 2:39 AM 55671

    Cute Editor 6.4: problem assing Css Class to Selected Tag

    Hi
     Please help me. I use Cute Editor for  .Net  version  6.4. I have problem  when I assign Css Class  from drop down to selected tag. cute editor not assign to my selected tag but cute editor assign css class to sub selected tag. you can reproduct follow up this step
     
    1. insert picture to Cute Editor
     
     
    2. Change to Html View and  key tag  "<em>Picture Caption</em> behind tag img
     
    3. change to Normal view again and move mouse to below cute editor and left click at tag p.  Cute editor show Context menu and selected menu item "Select"
     
    4. After that select Css Class "highlight" from Drop Down Css Class  
     
     
    5. for this picture  I show you for the cute editor assign "highlight" Css Class to tag em  but  I  selected tag p  therefore  cute editor must ass "highlight" css class to tag p 
     
     
    please check for this  problem

    thank you
     



  •  09-17-2009, 12:54 PM 55714 in reply to 55671

    Re: Cute Editor 6.4: problem assing Css Class to Selected Tag

    If you select the whole paragraph and pick a class in the css class dropdown, the class of your paragraph will be changed.
     
    If you only select a piece of text instead of the whole paragraph,  CE will use the span tag to apply the css class.
     
    CE also has another method which allows you change the class of the existing element.
     
    Put your mouse cursor over the element, right click, in the context menu, choose tags, in the open style builder, you can change the class of this element.

    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

  •  09-17-2009, 8:56 PM 55717 in reply to 55714

    Re: Cute Editor 6.4: problem assing Css Class to Selected Tag

    Hi Adam
          I 'am not sure your understand my problem. I know  step for assign css class to tag in cute editor.  Please reproduce follow my step agin and you will see a cute editor not assign css class to  tag p  but it assign css class to  child tag, Which i don't want this reslt.
  •  09-18-2009, 9:39 AM 55726 in reply to 55717

    Re: Cute Editor 6.4: problem assing Css Class to Selected Tag

    I fully understand your issue.
     
    When you select a piece of HTML code, you may select the whole paragraph, you may only select the child elements of this paragraph.
     
    If you select the whole paragraph and pick a class in the css class dropdown, the class of your paragraph will be changed.
     
    If you only select a piece of text instead of the whole paragraph,  CE will use the span tag to apply the css class.

    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

View as RSS news feed in XML