Opened 4 weeks ago
Closed 3 weeks ago
#62403 closed defect (bug) (invalid)
Unable to add italics to a page/post's title
Reported by: | billneto | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.7 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
When using WordPress 6.6 Branch, I was able to add italics to a part of a title, using command+i. Since I've updated to the latest release (6.7 Branch), I'm no longer able to do so.
I believe this to be a bug, as it's a reduction in the capabilities of what was previously possible to do.
Change History (6)
#2
@
4 weeks ago
Hello @benniledl
Thank you for your swift reply.
In the past, I'd be able to do the following in the title field:
- Type "This is"
- Press command+i
- The Title
- Press command+i
- of WordPress
The end result would be This is The Title of WordPress, because <i> tags would be added. Now, the tile ignores the command+i, so no <i> tags are added and so no italics are added.
Edit: I disabled all the plugins and the issue was not solved.
#3
@
4 weeks ago
Hi @billneto could you copy the block and send the block in text format (json) over?
#4
@
4 weeks ago
@billneto, I was able to reproduce the issue. Pressing cmd + I does not make a part of the title Italics. However, I've also observed that if we edit the HTML of the title in the Code Editor and add a pair of <i>
tags then that particular part becomes italics.
However, I'm not sure if that functionality was intentionally removed, therefore would wait for other contributors to confirm that this indeed is a bug.
#5
@
4 weeks ago
Hi @billneto,
Thank you for raising this issue.
I’ve tested the Cmd + I shortcut on WordPress 6.6.2, and it indeed does not italicize the title. This appears to be the intended behavior, as none of the text decoration shortcuts (such as Cmd + B for bold or Cmd + U for underline) currently apply here. Additionally, even when the title block is added in the editor, these options aren't available.
As a workaround, one solution could be to manually add the necessary HTML tags in the code editor.
#6
@
3 weeks ago
- Component changed from General to Editor
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
I'm going to close this out. as @im3dabasia1 said above, it is not the intended behavior of default WordPress to support formatting elements within the post title field.
@billneto Is it possible that you have a plugin adding this functionality that maybe was not compatible with 6.7?
Discussion can always continue on closed tickets and it can always be reopened in the future if new information presents itself.
Hello @billneto
I am not seeing any changed behavior, could you please explain the issue in more detail?
Every step that you take to notice this issue and also which blocks your are editing, wether they are headings or titles for example