spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
814 stars 257 forks source link

how to overwrite a plugin #156

Closed iamzhangdabei closed 9 years ago

iamzhangdabei commented 9 years ago

i need to overwrite the plugin named preview; how should i do? where should i put the new file? thanks

spohlenz commented 9 years ago

You will need to add your replacement file at app/assets/javascript/tinymce/plugins/preview/plugin.js (and add this to your config.assets.precompile list).