Paragraph style inherits the previous paragraph style

  •  03-23-2011, 2:39 PM

    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:
View Complete Thread