Tiny MCE editor problem with copying html content
-
Kieran P
Hey Vijay,
The tiny_mce plugin/gem is a wrapper for the TinyMCE Editor (http://tinymce.moxiecode.com/)
Sounds like the issues you're having would be better resolved by looking into the TinyMCE Editor documentation (http://wiki.moxiecode.com/index.php/TinyMCE:Index)
In particular, you might try adding the following to config/tiny_mce.yml and see if that helps.
plugins: [ paste ] paste_auto_cleanup_on_paste: true paste_convert_middot_lists: false paste_convert_headers_to_strong: trueThe above configuration options you can find at http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste
If you continue to have difficulties, you can ask for some support here: http://tinymce.moxiecode.com/punbb/viewforum.php?id=1
As I said before, this gem/plugin is just a wrapper in ruby for it, so options are simply passed to the TinyMCE editor. There isn't much else I can do.
Hope you're able to find the solution.
Regards
Kieran -
Walter McGinnis
- State changed from invalid to wontfix
- Assigned user changed from Kieran P to Walter McGinnis
This is likely a TinyMCE configuration/operation issue than something specific to the Rails TinyMCE code. So if the advice below isn't helpful, please refer to the larger TinyMCE community here: http://tinymce.moxiecode.com/punbb/
Pasting from different sources (particularly of formatted or "rich" text) can sometimes result in unexpected formatting. You might want to enable the paste plugin with its pasteword and pastetext buttons in your configuration (these tools can filter out extraneous elements). Here's an example configuration that has those enabled (along with a number of other things):
http://github.com/kete/kete/blob/master/config/tiny_mce.yml
Hopes this helps,
Walter
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.