TinyMCE Quattro and its wysiwyg bbcodes

Unmaintained TinyMCE Quattro and its wysiwyg bbcodes 2.7.2

No permission to download
Version 2.2.2 released
  • Update to TinyMCE 4.1.2 (changelog)
  • Smilie helper compatible with XenForo 1.2 (with and without the Smilie manager of Milano) - Thanks to Frigeri
  • Smilie key is now again uniq on XenForo 1.3 (is used for some html data, ie: alt="xxx") - Thanks to Xon
  • On XenForo 1.3 a smilie that has been chosen not to be displayed in the editor will now be excluded from the smilies list - Thanks to Xon
  • The smilie sprite check routine modified - Thanks to Xon
Notes:
  1. The member Isil`Zha has reported a minor problem with lists when pasting some text from Microsoft Word to the editor. A patch has been submitted to the TinyMCE developers to fix this problem. This patch has not been integrated to this addon yet. I remind you the logic of this addon: stay with the official version up to date, not to customize any of its official JavaScript files. If you can't wait the new TinyMCE official release, please see this post.
  2. Some members have reported weird behaviours with some other addons. Please be sure these issues don't come from these addons (especially when they are paid ones so I can't check) before reporting them in the thread. If the problem comes from this TinyMCE integration, don't hesitate to share any solution on Github. Thanks.
  3. Special thanks to all Xon contributions for this release (y)
Version 2.2.1 released

  • Small update to fix a bug with the new smilie helper (failed to differentiate smilies with sprites vs smiles with direct image) - Thanks to Xon

P.S: for those you haven't done yet the 2.2.x update, please don't forget to read the paragraph 8 of the FAQ.
Version 2.2.0 released
  • Update to TinyMCE 4.1.1
  • Some php and JS code has been modified to make the integration compatible with the new features of TinyMCE 4.1.x (see the screenshots):
    • new official color picker (with memory of the last selected colors) ; is working with the text color, the text background color, the cell background color and the cell border-color
    • text patterns similar to Markdown syntax
  • Integration is now compatible with the XenForo 1.3.x Smilie Categories (see the screenshot) ; it should still be compatible with the Smilie manager of Milano for XenForo 1.2.x but I haven't tried
  • Table skin selection has been fixed
  • Xon has submitted many tweaks to improve speed performances (for the mini parser as well), many thanks to him
  • Some old (many months ago) fixes (attachments when edit a post, get rid of an old insertion command which was not compatible with IE, css mods, etc.)
Since the TinyMCE JavaScript update is a major one, don't forget to read the paragraph 8 of the FAQ

Attachments

  • mce01.webp
    mce01.webp
    58.4 KB · Views: 58
  • mce02.webp
    mce02.webp
    20.9 KB · Views: 67
  • mce03.webp
    mce03.webp
    44 KB · Views: 60
  • mce04.webp
    mce04.webp
    82.2 KB · Views: 59
Verson 2.1.2 released
  • Update to TinyMCE 4.0.18 (changelog #1, #2)
  • Force to use the TinyMCE default skin on RTL languages if the theme was using the XenForo integration mode (explanation) - thanks to TBDragon
  • A few tweaks for RTL languages with the menu
Version 2.1.1.2 released
  • Fix a listener return (prevented other addons calling the same listener to use with visitors)
    Thanks to Slind
If you use the previous version of this addon, it will probably faster for you to manually perform the modification: see here.
Version 2.1.1.1 released

Minor release (basic modifications) but recommended
  • Reduce database requests (don't use anymore the data registry to get available addons)
  • Add a container to the Table Bb Code formatter with an overflow property to avoid to break the responsive layout on small screens
Version 2.1.1.0 released
Require an update of the Bbm addon (for the ones who were using it ; needed version 2.6.2)

If your previous version is 1.x.x, check the paragraph 9 of the FAQ.

What's new?
  • Update to TinyMCE 4.0.16
  • Smilies Box compatible with XenForo 1.3.x
  • TinyMCE Quattro detection modified
  • TinyMCE Quattro loading slightly modified
    • The TinyMCE Lazy Loader (see paragraph 6 of the FAQ) should not be needed anymore - it is now an option
  • TinyMCE Quattro Javascript integration modified
    • The JavaScript files could be in theory loaded permanently (both with TinyQuattro or XenForo Redactor) without breaking anything ; but the files are still only loaded when TinyQuattro is detected
  • Fallback buttons updated (include now the table and spoiler tags) (the Fallback is used when the BBM addon is not installed)
  • Get attachments (for overlay windows) function on edit message has improved (now also get attachments that have just been uploaded)
  • AddMenuItem function improved
  • XenForo/TinyMCE JavaScript framework
    • tiny fix with the check box auto creation function
    • new stripTags function
Version 2.1.0.5 released

This is a minor update. If you're still using the 1.x version, read the paragraph 9 of the Faq to see how to update correctly.

  • Compatible with the XenForo 1.3.x multiquote mode - Thanks to Carla Birch
  • Few UI improvements with Mce menus
    • Normal quote menu (not wysiwyg) will be also in the menu - Thanks to XxUnkn0wnxX
    • If the fast unlink option is enable, the unlink window will look better in the menu
    • Smilies menu (in the Mce menu) will look also better
    • - Development - Small modification with one of the method of the listener: addMenu
      • If you inject at the same time menu-items, a "menu-item hook" will be automatically created before each separator. This will help to inject after menu-item at a dedicated position. I still need to write a Faq about this.
      • add an optional argument to bypass the available buttons check (idea: if a button is not inside the buttons bar, it will not be in the menu bar)
Information: I've been testing the last version of TinyMCE the last few days and didn't find any problem with the framework. I will still wait one week before releasing it.
Happy Chinese New Year !

Version 2.1.0.4 released
  • The fullscreen menu position fix must only be applied to elements which have as parent a menu button, not a menu item
  • This should be the last fix for today, I've just wished you five time a happy chinese new year in a few hours. I think it's enough ^^
Version 2.1.0.3 released
  • Add the custom fullscreen position fix feature for menus as well (otherwise it has some glitches on Firefox)
Version 2.1.0.2 released
  • Rewrite some parts of the full color picker. It was incompatible with the new fast reload mode.

Version 2.1.0.1 released
  • Modification of the key event of a listener
  • Add some missing i18n translations

Version 2.1.0 released

Important:
If you use the QuoteME and the BBM Advanced Bb Codes addons, you must first update them.

What's new ?
  • New TinyMCE menu bar as an option
    • All is automatic, you just need to configure as usual your buttons bar
    • Buttons that have been programmed to be configured as a menu item will automatically be positioned inside the menu bar and delete from the buttons bar
    • If you don't want a button to be deleted (and then display both), there's an option for that (a sexy one by the way) which is compatible with the Bbm Bb Codes if some of them have been programmed to be displayed as a menu item.
    • Menu & menu items can be programmatically added/deleted/modified from the listener with some functions (see the listener to have more explanations)
    • You can automatically enabled this mode for the extra editors of the XenForo Resources Manager
  • Full editor/collapsed editor mode (when the menu is activated)
    • You can choose to toggle all buttons lines or all buttons lines after the n line
    • You can choose to collasped the editor by default
    • You can automatically enabled this mode for the extra editors of the XenForo Resources Manager
    • This mode will be disabled with the fullscreen mode (the full editor will be automatically displayed)
  • The templates overlay once loaded the first time will not have to be loaded again
    • Not all of them, but most of them. This fast reload function is configured from the template thanks to a class.
      The reason why not all of these overlays will have this fast reload option is that some of them might need to access to the attachments parameters (ie: you upload a new image) will imply to use php each time
    • To developers: when the fast reload mode is enable you can still control the editor selection (is it an url, an email, just some text) using some css class you just have to add to your fields ; same thing if you want to reset them after a fast reload. I will provide documentation later but the best example can be found in the link/email dialog template
    • To developers again: if the above feature that is using css class to control JavaScript is not enough a new callback has been create "onfastreload". See the link.js controller.
  • Add a new spoiler button/menu with a modal since this function is now part of XenForo. The Bb Code is not include, it's up to you to use the one you want providing its tag is "spoiler"
  • New framework to add/delete/modify TinyMCE settings, parameters, addons, buttons, menu, menu items, etc from the listener. See the information provided with the listener. Some example are available with the QuoteMe and the BBM Advanced Bb Codes addons. I will try to include a few example in the FAQ later.
  • The XenForo listeners used by this addon have been optimized to match XenForo 1.2 features
  • Various JS code optimisation
For screenshots, see here.

Reminder of what to do when updating to the version 2.x of this addon for the first time:
Some values of this addon options ("TinyQuattro - Editor options") have been modified, so just check the options again and save them: It's easy some bolean options will have a blank value
Happy Chinese New Year !

Version 2.1.0.3 released
  • Add the custom fullscreen position fix feature for menus as well (otherwise it has some glitches on Firefox)
Version 2.1.0.2 released
  • Rewrite some parts of the full color picker. It was incompatible with the new fast reload mode.

Version 2.1.0.1 released
  • Modification of the key event of a listener
  • Add some missing i18n translations

Version 2.1.0 released

Important:
If you use the QuoteME and the BBM Advanced Bb Codes addons, you must first update them.

What's new ?
  • New TinyMCE menu bar as an option
    • All is automatic, you just need to configure as usual your buttons bar
    • Buttons that have been programmed to be configured as a menu item will automatically be positioned inside the menu bar and delete from the buttons bar
    • If you don't want a button to be deleted (and then display both), there's an option for that (a sexy one by the way) which is compatible with the Bbm Bb Codes if some of them have been programmed to be displayed as a menu item.
    • Menu & menu items can be programmatically added/deleted/modified from the listener with some functions (see the listener to have more explanations)
    • You can automatically enabled this mode for the extra editors of the XenForo Resources Manager
  • Full editor/collapsed editor mode (when the menu is activated)
    • You can choose to toggle all buttons lines or all buttons lines after the n line
    • You can choose to collasped the editor by default
    • You can automatically enabled this mode for the extra editors of the XenForo Resources Manager
    • This mode will be disabled with the fullscreen mode (the full editor will be automatically displayed)
  • The templates overlay once loaded the first time will not have to be loaded again
    • Not all of them, but most of them. This fast reload function is configured from the template thanks to a class.
      The reason why not all of these overlays will have this fast reload option is that some of them might need to access to the attachments parameters (ie: you upload a new image) will imply to use php each time
    • To developers: when the fast reload mode is enable you can still control the editor selection (is it an url, an email, just some text) using some css class you just have to add to your fields ; same thing if you want to reset them after a fast reload. I will provide documentation later but the best example can be found in the link/email dialog template
    • To developers again: if the above feature that is using css class to control JavaScript is not enough a new callback has been create "onfastreload". See the link.js controller.
  • Add a new spoiler button/menu with a modal since this function is now part of XenForo. The Bb Code is not include, it's up to you to use the one you want providing its tag is "spoiler"
  • New framework to add/delete/modify TinyMCE settings, parameters, addons, buttons, menu, menu items, etc from the listener. See the information provided with the listener. Some example are available with the QuoteMe and the BBM Advanced Bb Codes addons. I will try to include a few example in the FAQ later.
  • The XenForo listeners used by this addon have been optimized to match XenForo 1.2 features
  • Various JS code optimisation
For screenshots, see here.

Reminder of what to do when updating to the version 2.x of this addon for the first time:
Some values of this addon options ("TinyQuattro - Editor options") have been modified, so just check the options again and save them: It's easy some bolean options will have a blank value
Top Bottom