close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add a styles dropdown to ckeditor

Thread began 11/20/2012 3:33 pm by bill3786 | Last modified 11/27/2012 1:09 pm by bill3786 | 3430 views | 10 replies |

bill3786

Add a styles dropdown to ckeditor

Our ckeditor toolbar doesnt have a styles dropdown so how do you add a styles dropdown and then how do you add custom styles to it?
Have updated to latest ckeditor version 3.6.5

Sign in to reply to this post

Ray BorduinWebAssist

You can add the styles dropdown and add styles to it directly from the UI in the latest version.

Edit your design and then add the styles menu option in the menu options tab. Then go to the styles tab and you can add a css file and choose which styles to display in the menu.

Sign in to reply to this post

bill3786

I'm missing something here.
How do you get to the menu options tab?

Sign in to reply to this post

Ray BorduinWebAssist

Click the pencil icon next to the Presets dropdown... then choose the Toolbar tab.

That is where you add the style list to the toolbar itself... In that same interface you click on the styling tab to add styles.

Sign in to reply to this post

bill3786

Sorry, but I dont see a pencil icon or the presets dropdown anywhere.
Where are they, how do you get to them?

Sign in to reply to this post

Ray BorduinWebAssist

You are probably still running an older version of HTML editor before we added these features. If that is the case, you can update to Data Bridge to get these features, depending on the version you may need to add the styles in the code itself.

What version of HTML Editor are you using? When did you purchase it from us? Do you own Data Bridge?

Sign in to reply to this post

bill3786

We have CSS Form Builder 2.0.1 which has HTML editor.
We purchased Super suite in June 2011, we dont have Data Bridge.

Dont see HTML editor anywhere when using ckeditor within Power CMS.

Sign in to reply to this post

Ray BorduinWebAssist

I've opened a support ticket so that we can have an engineer do screen sharing with you and help you through your issue.

Sign in to reply to this post

bill3786

Over the weekend was able to add the styles dropdown manually by changing the exisiting array on the contents_insert.php and contents_update.php pages as below.

change - array( 'Format','Font','FontSize'), to - array( 'Styles','Format','Font','FontSize'),

Am I correct in assuming that I can also manually add new styles to this dropdown by adding them in the format below to the default.js file in the plugins/styles/styles folder

{name:'Blue Title',element:'h3',styles:{color:'Blue'}}

Sign in to reply to this post

Ray BorduinWebAssist

That looks right to me. If you have issues after trying let us know and we can investigate it further with you.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...