Cascading Stylesheets of the page in the editor

Last post 01-28-2005, 1:38 AM by jvzoggel. 2 replies.
Sort Posts: Previous Next
  •  01-27-2005, 4:37 PM 3756

    Cascading Stylesheets of the page in the editor

    Hi,
     
    I'm developing a content management system where a client can upload his own template with a custom design. This template is dynamic i.e. the application has no knowledge of any of the styles and classes used in this design or stylesheet. However I'm trying to use the editor to add or edit the content area on this page and want to use the classes and styles in the editor. Is there some way to have the editor adopt the classes of its parent?
     
    thx,
     
    John
     
  •  01-27-2005, 4:45 PM 3757 in reply to 3756

    Re: Cascading Stylesheets of the page in the editor

    John,

     

    Are you using the version 4.0.0.4 ?

    Editor.EditorWysiwygModeCss Property

    Specifies the location of the style sheet that will be used by the editable area. Multiple Style Sheets are supported. Example EditorWysiwygModeCss="example.css,~/portal.css,/default.css"
     
     

    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

  •  01-28-2005, 1:38 AM 3762 in reply to 3756

    Re: Cascading Stylesheets of the page in the editor

    Hi Adam,
     
    I'm using version 4.0.0.4 of the editor and have seen this property in the documentation. That would be a solution for a part of my customers where I can parse the stylesheets from the source, but some of them are using inline styles:
     
    <STYLE type=text/css media=screen>
    P {  MARGIN: 0.5em 0px 1.1em; FONT-STYLE: normal }
    ADDRESS {  MARGIN: 0.5em 0px 1.1em; FONT-STYLE: normal }
    </STYLE>
     
    and so on. Maybe theres a property that can parse the styles if I passed the content within the style tags?
     
    thx,
     
    John
     
View as RSS news feed in XML