You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: