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

Setting text to H1 causes it to disappear #524

Closed
yaffol opened this issue Nov 30, 2016 · 2 comments
Closed

Setting text to H1 causes it to disappear #524

yaffol opened this issue Nov 30, 2016 · 2 comments

Comments

@yaffol
Copy link

yaffol commented Nov 30, 2016

Using 0.6.4 in a project, and on the 'See an example' page of the Sir Trevor site, when you select text and set it to H1 using the format bar, the entire block vanishes.

It goes from both the editor, and from the store, as accessed by:

SirTrevor.onFormSubmit()
SirTrevor.getInstance().store.retrieve()

It doesn't seem to make a difference whether you select the entire string, or only part of it.

@raffij
Copy link
Contributor

raffij commented Nov 30, 2016

@patrickpawsey That's something that has been overlooked and also something another person found the other day.

It's because the formatbar always includes those options, but you don't have the heading block enabled. I can suggest a workaround if that is your intention.

@yaffol
Copy link
Author

yaffol commented Dec 15, 2016

@raffij Many thanks for the information - enabling the heading block fixes the behaviour.

@yaffol yaffol closed this as completed Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants