Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi, does anybody have an idea on how to change the align attribute that is set by the nicedit editor when aligning text?
This align attribute makes the HTML not to validate, I was trying to change it for the style attribute like the richtext section does but cant find in the nicEdit.js file where this attribute is set.
Hi ar2ro,

When it comes to Nicedit, it seems to have a mind of its own :)
I'm sorry but even I am clueless about its 'inner' workings.
Yeah that´s right. I´ve been navigating thru the nicEdit.js file and cant find where it sets that attribute, guess i´ll leave it like that. Thanks anyway KK
NicEdit uses document.execCommand (https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand) to manipulate the content.

I hope we can deprecate NicEdit soon as the code is old and it doesn't produce the best markup. Inline CKEditor and/or Redactor should be capable of filling the gap for repeatable regions.
4 posts Page 1 of 1