hai all
can any body help me in adding the new style sheet to the existing dropdown i.e
Custom Bold
Custom Italic
Title
Code
Title H3
Thanks and regards
Ajay Kataram
can any body help me in adding the new style sheet to the existing dropdown i.e
Custom Bold
Custom Italic
Title
Code
Title H3
Thanks and regards
Ajay Kataram
Re: Adding new style sheet through drop down select
Open fckstyles.xml located inside fckeditor directory and simply add new custom styles there. Clear browsers cache if you don't see applied changes.
(actually, edit fckstyles.xml or file defined by FCKConfig.StylesXmlPath in fckconfig.js)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Adding new style sheet through drop down select
thanks for that
but i want different style sheet file to be shown in the drop down list
thanks and regards
Ajay Kumar.K
Re: Adding new style sheet through drop down select
If you have a custom stylesheet (CSS file) and want to be able to use styles defined there using dropdown list, you have to define all the styles in fckstyles.xml.
Or if you want to tell FCKeditor to use custom CSS file while editing (for example to change default font family, size and color), change path to the right CSS file (by setting FCKConfig.EditorAreaCSS) in fckconfig.js.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Adding new style sheet through drop down select
thanks wiktor for the answers
it worked
i have added the different styles in the dropdown list in the fckstyles.xml
and added styles in the fck_editor.css
its working now
Thanks and regards
Ajay Kataram.
Re: Adding new style sheet through drop down select
i have one doubt
we can use element="span"or else element="em" in fckstyles.xml for all the styles
in that page
Thanks and regards
Ajay Kataram.
Re: Adding new style sheet through drop down select
Re: Adding new style sheet through drop down select
Use em or span, simply which one you preffer.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Adding new style sheet through drop down select
Re: Adding new style sheet through drop down select
thanks very much
ok i use span in all
Re: Adding new style sheet through drop down select
hai all
can anyone help me in getting the dashed line style using the drop down select box
Thanks and regards
Ajay Kumar K.