close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding custom buttons to HTML Editor

Thread begun 6/27/2021 7:37 am by Mags | Last modified 6/28/2021 2:42 pm by Ray Borduin | 610 views | 6 replies |

Mags

Adding custom buttons to HTML Editor

Hi Ray, I'd like to add some custom plugins to my HTML Editor instances. I downloaded one from the ckeditor site to try, but I can't get it to work.

I followed the instructions on the ckeditor site:

Extract the downloaded plugin .zip into the plugins folder of your CKEditor installation.
http://example.com/webassist/ckeditor/plugins/Bootstrap-Mediaembed

Enable the plugin by using the extraPlugins configuration setting.
Example:
config.extraPlugins = 'Bootstrap-Mediaembed'; (I added this to the ckeditor config.js file like this: config.extraPlugins = 'cms_source,Bootstrap-Mediaembed';

I then added the button to the ckeditor code on the page, like this:

array( 'Image', 'bootstrapMediaEmbed', 'Table','HorizontalRule','SpecialChar','PageBreak'),
('/'),

After doing all that though, the HTML Editor instance disappears from the page. Not sure what I'm doing wrong?

Sign in to reply to this post

Ray BorduinWebAssist

Those are all of the steps... If you give me FTP access and a URL I can take a look to see if I spot any issues, but that should work.

Sign in to reply to this post
Did this help? Tips are appreciated...

Mags

Hi Ray, that would be great thanks - SFTP details in PM.

Sign in to reply to this post

Ray BorduinWebAssist

That FTP information doesn't seem to be working for me. I'll also need a url to the site. Please set up a test blank page with just the html editor on it with the plugin added so I have something to debug.

Sign in to reply to this post
Did this help? Tips are appreciated...

Mags

It's definitely the correct SFTP info but make sure it's an SFTP connection via port 2020. Other details are in the PM.

Sign in to reply to this post

Ray BorduinWebAssist

It was just some case sensitivity and wrong values....

You had:
config.extraPlugins = 'cms_source,bootstrap-MediaEmbed';

it should be:
config.extraPlugins = 'cms_source,bootstrapMediaEmbed';

Then in the toolbar you had:
array( 'Image','bootstrapMediaEmbed'

it should be:
array( 'Image','BootstrapMediaEmbed'

Fixing those issues appears to have made it work properly on your test page.

Sign in to reply to this post
Did this help? Tips are appreciated...

Mags

Ha, I copied it exactly from ckeditor's example on their website too! Thanks so much for fixing!

Sign in to reply to this post

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...