-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decentering of a centered text #489
Comments
Just labeling this |
I've made the changes for wysiwyg mode. This is how the center aligning works in markdown. else if (mode == "markdown") {
chunks.selection = _module.wysiwyg.parseHTML("<center>"+chunks.selection+"</center>")
}
_module.afterParse(); Any ideas on how decentering could be implemented in markdown? |
I think we should allow de-centering from the toolbar as well as all other modules all allowing it. |
* MODIFIED: dist/Publiclab.Editor.js -> function initAutoCenter * enables decentering in both modes * selecting a center aligned text and re-aligning left aligns the text * selecting a center aligned text as substring of a string center aligns the complete string
If a text has already been centered by a user(and it may happen sometimes by mistake ) then it can’t be uncentered. Also if you want further paragraphs to be uncentered then it’s not possible now.
The text was updated successfully, but these errors were encountered: