fcgrx / ex_sponge Goto Github PK
View Code? Open in Web Editor NEWA real-time HTML filter and WYSIWYG / Microsoft Word / Rich Text editor cleanup plugin for ExpressionEngine
A real-time HTML filter and WYSIWYG / Microsoft Word / Rich Text editor cleanup plugin for ExpressionEngine
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?
Any reason ex_sponge would be stripping classes on an element?
Tried adding it to the allowed attributes parameter to no avail.
{exp:ex_sponge
allow_tags="minimal"
allow_attributes="href|src|height|width|alt|title|name|cite|colspan|class"
}
{article_content}
{/exp:ex_sponge}
Any ideas?
I can't see anything in the regex within the plugin itself and the demo works as expected but not within the plugin.
First let me say thank you for the plugin, your use of expressions is indeed noteworthy. I'm attempting to remove the style attribute, and thought it would have been automatically removed using the default settings of 'allow_attributes = no' (href|src|height|width|alt|title|cite).
The attribute still remains however, here is an example of what I'm attempting to remove:
<span style="line-height: 1.6em;"> some text here </span>
The span actually contains international characters (ex: ცალკეული) if that matters. As you stated the wysiwyg editor (we are using expresso - a wrapper for CKedit) has added the style attributes when the user pasted in the text from their word proccessor (mac - Pages) and as you can imagine it is messing up the layout on the website.
Your help and attention on this is greatly appreciated - Thank You.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.