This is an amazing plugin, thanks for the great work.

The Save plugin is in my TinyMCE (version 3.x) plugins folder. How can I add the Save icon to the TinyMCE toolbar using WYSIWYG module? It's not listed under Buttons and Plugins. Our users find it crucial to have that button as they use the fullscreen toggle all the time and want to save from fullscreen mode without having to jump back into the Drupal screen to Save.

How to add this?

CommentFileSizeAuthor
#2 wysiwyg-DRUPAL-6--2.save_.patch926 bytessun
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mecvo1984’s picture

I added the following code to tinymce.inc to get the Save choice to appear in the module. It appeared in the list and I checked it, but the Save icon never appeared in the toolbar. What else do I have to do to get the Save functionality in the toolbar in TinyMCE? I love this editor and want to use it, but no Save functionailty from the toolbar could be a dealbreaker. Thanks to anyone who can help.

'save' => array(
'path' => $editor['library path'] . '/plugins/save',
'extensions' => array('save' => t('Save')),
'url' => 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save',
'internal' => TRUE,
'load' => TRUE,
),

sun’s picture

Title: How to add Save button to TinyMCE editor using WYSIWYG module?? » TinyMCE: Add Save button
Version: 6.x-2.0 » 6.x-2.x-dev
Category: support » feature
Status: Active » Needs work
FileSize
926 bytes

It could be easy.

However, I'm getting JS errors in fullscreen mode when Drupal plugins are enabled. Secondly, when multiple editors are in the same form, one needs to click multiple times on the save button to trigger the save (the more clicks the more editor instances are on the page).

mecvo1984’s picture

I noticed the Save button option is also missing in FCKeditor when using WYSIWYG module, was wondering what was up with that as well.

Cheers and thanks for the patch. I just tried it and it's working well in both fullscreen mode and not. Will keep an eye out for the behavior you describe, but so far, no js errors.