Paragraph style inherits the previous paragraph style

Last post 03-26-2011, 9:01 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  03-23-2011, 2:39 PM 66818

    Paragraph style inherits the previous paragraph style

       I have created a code snippet in the Common.config file. Here is my code snippet.
     
     <item text="Quoted text">
        <value><![CDATA[<p class="quote"><span class="up">&nbsp;&nbsp;&nbsp;&nbsp;</span>Replace this example text. <span class="down">&nbsp;&nbsp;&nbsp;&nbsp;</span></p>]]></value>
        <html><![CDATA[Quoted text]]></html>
    </item>
     
    When I choose this code snippet to be inserted into the content of the cute editor, the following text appears (which is exactly what I want).
     
    " Replace this text. " 
     
    After I replace the text to what I want it to be, for example:
     
    " This is my new quoted text that I want. "
     
    And then place my cursor after the last quote and hit enter, the following paragraph tag is created and surrounds my text that I type.
     
    <p class="quote"> </p>
     
    I do not want paragraph tags to inherit the previous paragraph tag class. When I hit enter, I would like it to create a paragraph tag like this with no class.
     
    <p> </p>
     
    Please tell me what I need to update in a configuration file to turn off previous class inheritance of tags.
     
    Thank you!
     
     
     
     
     
     
     
     
    Filed under:
  •  03-26-2011, 9:01 PM 66865 in reply to 66818

    Re: Paragraph style inherits the previous paragraph style

    Hi demmett,
     
    I can not reproduce this issue.
     
    My steps
     
    1. Open link http://www.cutesoft.net/asp/EnableAll.asp
     
    2. Input the code below in html view
     
    <p class="quote">this is a test</p>
     
    3. Move the mouse to the end of the text and than hit enter
     
    4. The html code will changed to
     
    <p class="quote">this is a test</p>
    <div>&nbsp;</div>
     
    5. The new paragraph does not inherit the previous paragraph tag class.
     
    Can you reproduce this issue on the online demo? If so, can you show me the steps? It will very helpful.
     
    Regards,
     
    Ken
View as RSS news feed in XML