Open luis888 opened 9 years ago
Better late than never :
This module is deprecated, obsolete and you better find an alternative but if you have no choice you can read below :
Unfortunately there are no proper way to this without editing core files …
You need to had a new entry in attributeCheckMethods
object :
source: https://github.com/jaybee/wysihtml5/commit/9027cc0bdc73a3ef3ea66100bd528780aad7a630
style: (function() {
var REG_EXP = /[^a-z0-9_\-]\:[^a-z0-9_\-];/gi;
return function (attributeValue) {
return attributeValue;
};
})()
And then you have to add the rule for tags needing inline style :
check_attributes: {
"style": "style"
}
Hi, Fine job thank's, I need that users writing are readable by other programs that i cannot change, is there a way to get all styles inline without a need for CSS. best regards Luis