#46071 closed defect (bug) (fixed)
TinyMCE Classic Block: fix "Advanced Link" modal
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | TinyMCE | Keywords: | has-patch commit |
Focuses: | Cc: |
Description (last modified by )
The "Advanced Link" modal doesn't work reliably in the Classic Block instance. Sometimes it doesn't insert a link, sometimes it inserts it at the beginning of the text instead of the cursor position.
This was reported for Gutenberg some time ago. See https://github.com/WordPress/gutenberg/issues/7932 and the 6-7 issues closed as duplicates. Opening this ticket here as it is an issue with one of our old custom TinyMCE plugins.
Attachments (1)
Change History (9)
Note: See
TracTickets for help on using
tickets.
There are few reasons for these bugs. Most importantly the editor instance is inline and some "utility" functions work a bit differently.
In 46071.diff:
wpLink
modal andwplink
editor plugin a bit.Tested in Firefox, Chrome and Edge on Win10.