Skip to content
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

Devise a way to remove the formatting of heading text #31

Closed
raphaelcruzeiro opened this issue Feb 12, 2014 · 0 comments
Closed

Devise a way to remove the formatting of heading text #31

raphaelcruzeiro opened this issue Feb 12, 2014 · 0 comments
Milestone

Comments

@raphaelcruzeiro
Copy link
Owner

The bubble object contains a method checkForFormatting that checks what formatting are applied to the current selection. If this method would be called every time the user presses the h1 or h2 buttons, the editor could then check if the formatting is already there and return the selection to a simple p if the selection is indeed there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant