2015-10-01, 07:05 PM
Pages: 1 2
2015-10-01, 07:26 PM
It wasn't an option for me.
Anyway, I fixed it and I suggest you to fix it in next releases too please. I can't assure you it won't bug anything, but it works well for me.
I edited /jscripts/bbcodes_sceditor.js file where it parses the 'align' code. So, from this code:
To this code:
Anyway, I fixed it and I suggest you to fix it in next releases too please. I can't assure you it won't bug anything, but it works well for me.
I edited /jscripts/bbcodes_sceditor.js file where it parses the 'align' code. So, from this code:
.set('align', {
html: function(element, attrs, content) {
return '<div align="' + (attrs.defaultattr || 'left') + '">' + content + '</div>';
},
isInline: false
})
To this code:
.set('align', {
html: function(element, attrs, content) {
return '<div style="text-align:"' + (attrs.defaultattr || 'left') + '" align="' + (attrs.defaultattr || 'left') + '">' + content + '</div>';
},
isInline: false
})
2015-10-02, 02:31 AM
Please post as a bug in the 1.8 bugs and issues
Pages: 1 2