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

Gutenberg editing issue with tags #14

Closed
seankwilliams opened this issue Oct 10, 2019 · 1 comment · Fixed by #15
Closed

Gutenberg editing issue with tags #14

seankwilliams opened this issue Oct 10, 2019 · 1 comment · Fixed by #15
Assignees

Comments

@seankwilliams
Copy link
Owner

If HTML tags are included within the text you're highlighting when choosing the "Add a Footnote" control in the Gutenberg editor, the footnotes will not be applied correctly. For example, in a sentence like:

the middle of the sentence is a link

The "Add a Footnote" option will create three distinct footnotes: "the", "middle of the sentence", and "is a link".

See https://wordpress.org/support/topic/button-of-rich-text-dont-work-correctly/ and https://wordpress.org/support/topic/an-option-to-use-normal-text-as-shortcode/#post-11228369

@seankwilliams seankwilliams self-assigned this Oct 10, 2019
@seankwilliams
Copy link
Owner Author

I think we can use the boundaries for rich text at WordPress/gutenberg#13697 to implement this somehow. Might have to get a little creative with the solution as I'm not sure Gutenberg has an out-of-the-box way to fix this.

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

Successfully merging a pull request may close this issue.

1 participant