fcgrx / ex_sponge

A real-time HTML filter and WYSIWYG / Microsoft Word / Rich Text editor cleanup plugin for ExpressionEngine
16 stars 1 forks source link

not working with Editor #1

Open one-marc-tiedemann opened 11 years ago

one-marc-tiedemann commented 11 years ago

Hi,

exSponge is looking really great! I tried it out with DevDemons Editor (http://www.devdemon.com/editor) but unfortunately it doesn't seem to work with this text editor.

What would be needed to make it work?

fcgrx commented 11 years ago

hi marc

exsponge is a real time filter that you use in your EE templates to clean up what editors have stored in your database

it does not modify the database. and it doesnt modify the output of editors before it is stored in the database. if thats what youre after youd have to write an extension for the control panel that is triggered when entries are modified, and call exsponge code from there.

let me know if you decide to do something like that as i'd like to have it myself.... dan

On May 21, 2013, at 4:42 AM, Marc wrote:

Hi,

exSponge is looking really great! I tried it out with DevDemons Editor (http://www.devdemon.com/editor) but unfortunately it doesn't seem to work with this text editor.

What would be needed to make it work?

— Reply to this email directly or view it on GitHub.

nathanpitman commented 10 years ago

While I understand the original intent it would be insanely awesome if you could 'call' ex_sponge on a field contents using JS in the CP. i.e. in Editor have a custom toolbar button which 'ex-punges' the contents of that field. This could simply grab the field content, post it to URL on the local server and have it returned minus the Word (etc) cruft. :)

1stevengrant commented 8 years ago

there's an extension for this already by Iain Urquhart called Scrub. Best drop him a line for a copy.

nathanpitman commented 8 years ago

Thanks @stevieg83 - link on Devot-ee https://devot-ee.com/add-ons/scrub

1stevengrant commented 8 years ago

@nathanpitman other option I just saw is https://github.com/litzinger/cleaner

nathanpitman commented 8 years ago

Thanks! :)