
Security News
Python Adopts Standard Lock File Format for Reproducible Installs
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
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
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
Security News
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.