Design and CSS styles
Version 5.x > Design and CSS styles > FCKEditor: Styles not being applied from Style dropdown View modes: 
User avatar
Member
Member
barryfogarty-gmail - 2/15/2011 6:23:42 AM
   
FCKEditor: Styles not being applied from Style dropdown
I have changed my FCK editor fckstyles.xml file to include the following

<Style name="Pull Quote" element="blockquote" />

I can see the style in the dropdown, but when I select some text and apply the style it does not wrap the text in a <blockquote> element.

Am I missing something?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/16/2011 4:30:39 AM
   
RE:FCKEditor: Styles not being applied from Style dropdown
Hi,

We've beein solving this issue over the e-mails.

The problem is that blockquote element is not a style element, so it cannot be added to the styles drop down list.

You can enable the blockquote button for the WYSIWYG Editor tool bar, however there is a problem with it in FireFox browser. IE can handle it just fine.

How to enable the button:
Open the \CMSAdminControls\FCKeditor\fckconfig.js file and around line 121 uncomment the 'blockquote' text.

Best regards,
Juraj Ondrus

User avatar
Member
Member
barryf - 2/16/2011 4:37:13 AM
   
RE:FCKEditor: Styles not being applied from Style dropdown
Thanks Juraj

I have it working on IE now. Just FYI blockquote does not work in Chrome either. The editor pops a message box up saying

"Unknown command name: Blockquote."

It is strange that it will not work in the styles dropdown. I can add rules for <p> and <div> and any other HTML elements it seems, and they work fine. But a rule for blockquote does nothing.

Luckily my client is using IE anyway so the solution you provided to enable the blockquote button for IE is sufficient.

THanks for your help