ndunand / moodle-atto_morebackcolors

https://moodle.org/plugins/atto_morebackcolors
3 stars 8 forks source link

Transparent background #6

Open JocPro opened 8 years ago

JocPro commented 8 years ago

Is it possible to include a transparent, null or simply strip the background tags from a selection with your plugin? When the users in my site put a background color in any text, they can't revert it to the default background unless they edit the html code in the Atto box. one two three

JocPro commented 8 years ago

I have a little workaround for this, a crude edit of the button.js to add a transparent background option, but it would be better if it could split span tags instead of just nesting itself in there. It should be also be configurable in the settings page, just like the custom color picker, if it's required.

button.js.diff.txt