Tiny MCE editor problem with copying html content
Reported by vijayabasker | June 2nd, 2010 @ 06:33 PM
Hi Kieran,
I am new to TinyMCE text editor.I have integrated TinyMCE editor
with ruby on rails everything is perfect.
Installing TinyMCE gems and integrating with Ruby On Rails
code.
I am storing TinyMCE text_editor values in database(mysql) and retrieving the same content in view page.
when the problem occurs while copying html content (from same
page or different html page) and pasting the content in TinyMCE
text_editor its creates extra div.It introduce alignment problem in
the view page.
how to avoid this problem?.
Herewith i have attached the image for your reference.
can you please send solution for this problem as soon as
possible.
Thanks ,
Vijay
Comments and changes to this ticket
-
Walter McGinnis June 3rd, 2010 @ 03:47 PM
- 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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Ruby on Rails plugin that allows easy implementation of the TinyMCE editor into your applications.