Closed (works as designed)
Project:
Wysiwyg cleaner
Version:
6.x-1.2
Component:
Documentation
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2010 at 20:17 UTC
Updated:
25 Dec 2010 at 05:05 UTC
Hi,
I read the description in README file : "Optionally, cleaning can be automatically fired on paste."
I cannot figure out how can this be done. I can add the button for a profile in wysiwyg ,but I don't see how I can filter the content automatically on paste
Comments
Comment #1
markwittens commentedTo enable auto cleanup on paste, check "Force cleanup on standard paste" in "Cleanup and output" (in the WYSIWYG profile settings)
Comment #2
jstollerI want everything pasted into my TinyMCE editor to be stripped of all tags, so I created a "deep clean" preset and I checked the "Force cleanup on standard paste" box in the WYSIWYG profile settings, but it didn't work. Then I tried enabling the "Wysiwyg cleaner : Deep clean" button in my profile and suddenly clean on paste started working. But now I have a button on my TinyMCE toolbar that I don't want. How can I enable cleaning on paste, using my chosen preset, without also enabling the button?
Comment #3
markwittens commentedThis is something I would like to know as well...
Also, could you share the export of your deep clean preset here?
Comment #4
jide commentedFor now, the button must be enabled for the "cleanup on paste" functionality to work. You could hide the button through CSS or JS.
Sharing your presets would be great !
Comment #5
jide commentedMarking as "by design".
Comment #6
jstollerI've posted a feature request for this. Please consider it for future development.
#878370: Allow cleaning on paste without displaying button
Comment #7
my-family commented@jstoller: please could you share your preset? It would be very helpful, thank you...
Comment #8
jstollerThis has not been thuroughly tested yet, but it seems to work pretty well so far.
Comment #9
luco commented@jstoller, I tried Deep clean on content copied from word for mac: nothing happened.
I'm pretty sure I have all the right modules: Wysiwyg cleaner 6.x-1.2, Wysiwyg 6.x-2.1 and jQuery Update 6.x-2.x-dev but still no joy.
I also turned on the Deep clean button, checked force cleanup on standard paste, the works.
any thoughts?
thanks in advance :)