Results 1 to 2 of 2

Thread: HTMLEditor cannibalizing my html

  1. #1
    Sencha User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
      0  

    Default HTMLEditor cannibalizing my html

    So I write some html in my editor (extjs 1.1)
    HTML Code:
    <style>
    	.roster { text-align: left; font:.92em Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color:#808080; line-height:1.35}                            
    	.roster .number { width: 47px; color:#5e709f; }
    </style>
    I then submit and it saves it to the database hunky dory.

    When I pop the data (stored html) back into the editor from the database and switch to html view my styles are gone!!!!!

    Thoughts ?

  2. #2
    Sencha User jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
      0  

    Default

    Quote Originally Posted by Phil.Strong View Post
    So I write some html in my editor (extjs 1.1)
    HTML Code:
    <style>
    	.roster { text-align: left; font:.92em Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color:#808080; line-height:1.35}                            
    	.roster .number { width: 47px; color:#5e709f; }
    </style>
    I then submit and it saves it to the database hunky dory.

    When I pop the data (stored html) back into the editor from the database and switch to html view my styles are gone!!!!!

    Thoughts ?
    Try to be a little more specific. How is the data being assigned to the html editor? Show the code so we can help you. The html might not be loaded into the editor correctly. You can kick my ass later Phil.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •