
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
tinymce-rails-config-manager
Advanced tools
Simple tinyMCE configuration manager
gem 'tinymce-rails-config-manager'
//= require tinymce-rails-config-manager
To add new property (added only once)
This will add template to plugin option existing value
TinyMCEConfigManager.get().config.add("plugin", "template")
To add new value after some other (added only once; buttons is shortcut to all theme_advanced_buttonsX)
This will add fullscreen button after bold
TinyMCEConfigManager.get().config.addAfter("buttons", "fullscreen", "bold")
To add new value before some other (added only once)
This will add fullscreen button before bold
TinyMCEConfigManager.get().config.addBefore("buttons", "fullscreen", "bold")
To set property
This will set value right for theme_advanced_toolbar_align
TinyMCEConfigManager.get().config.set("theme_advanced_toolbar_align", "right")
To add callback (new callback function will be added with every call)
This will add callback for setup
TinyMCEConfigManager.get().config.addFunction("setup", function(editor){ /*do something here*/})
To add or change settings for specific textareas use
TinyMCEConfigManager.get().configFor("#my_special_textarea")
and then use all property modifiers as mentioned above. Default settings will be loaded for all other textareas.
Simply call load()
. Also it is possible to pass some specific configuration there, but that will overwrite existing and
that is not recommended.
TinyMCEConfigManager.get().load()
This project rocks and uses MIT-LICENSE.
FAQs
Unknown package
We found that tinymce-rails-config-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.