Paste as text only on Tinymce plugin

Do you have an idea for the Joomla community that you can help implement? Discuss in here.
Forum rules
Global Rules
Posting guidelines for this board <-- please read before posting.

Joomla Idea Pool <-- Add your suggestions for future versions of Joomla and vote on current suggestions.
Locked
juanm_la22
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Mar 10, 2016 11:15 am

Paste as text only on Tinymce plugin

Post by juanm_la22 » Fri Feb 24, 2017 1:43 pm

Hi!

Looking for some way to force paste as text on frontend's editor for my extensions, i found that was really easy to me to do that using an existing preprocess on tinymce. So I change plugins/editors/tinymce/tinymce.php. It was really easy to do. So, i propose to make that change permanent on the plugin and add a simple checkbox on plugin's settings for that.

If someone need the code, is on the attachments.

Regards,
JM
You do not have the required permissions to view the files attached to this post.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 27194
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Paste as text only on Tinymce plugin

Post by imanickam » Fri Feb 24, 2017 2:38 pm

Thanks for sharing the code.

The Extended mode of TinyMCE has this feature already built-in. Whether it will not suffice?
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Translations Coordination Team | Tamil (தமிழ்) Translation Team

Eegan - Support the poor and underprivileged


Locked

Return to “Joomla! Ideas Forum”