-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Unable to edit pasted HTML tags in post title in the main editor #46823
Comments
Hey there! With Site Editing, the Post Title is indeed an editable block. You can learn more about it here: https://wordpress.org/support/article/post-title-block/ This feature is available in block themes, like Twenty Twenty-Three, Twenty Twenty-Two, and any of the block themes you'll find here: https://wordpress.org/themes/tags/full-site-editing/ |
I run into this issue regularly. I often have to manually copy and paste the code into a text editor to clean it up. The Post Title block should not hide embedded html tags, or perhaps the view could be toggled to source view. It does not appear to render the I am not using a block theme and don't intend to for all sites. Thanks |
When I copy and paste bold words from a google document file or any other site, it shows tag in the admin backend for the Twenty-Three, Twenty Twenty-One, Twenty Twenty-Two themes. It does not feel appropriate for the post title to support HTML we must use some esc filter to remove such HTML tag. For better understanding I am posting a video: |
Related: #38668 |
There's some detail on this also being an issue for the title block, as @kathrynwp referenced earlier. "I discovered that there is a 'title block' in gutenberg. Probably this is the one that is used for the title. Discussion here: |
What problem does this address?
Pasted text that contains HTML tags cannot be edited visually as title has no block edit nor can it be edited as code as the title block appears to be rendered unlike the post content.
What is your proposed solution?
Is there a work-around?
Yes, Quick edit allows for the editing of HTML Tags
The text was updated successfully, but these errors were encountered: