#46071 closed defect (bug) (fixed)
TinyMCE Classic Block: fix "Advanced Link" modal
| Reported by: | azaozz | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | TinyMCE | Version: | 5.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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:
wpLinkmodal andwplinkeditor plugin a bit.Tested in Firefox, Chrome and Edge on Win10.