#53567 closed defect (bug) (invalid)
Bug Report: Url Slugs Truncated in Gutenberg Blocks Post Editor (but not the previous editor)
Reported by: | schow | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.7.1 |
Component: | Editor | Keywords: | |
Focuses: | ui | Cc: |
Description
The website dharmatavoice.org is a Tibetan language site where we'd like to use encoded Tibetan characters in url slugs.
In the previous version of the editor, most Tibetan post titles could be used as url slugs.
However, in themes that use Gutenberg blocks (we're using twenty-twenty), the same title is truncated (sometimes in the middle of a syllable), and if the title is re-edited, either the change cannot be saved, or the post id is substituted.
Currently, our only workaround is to use the post id in urls.
Change History (5)
#3
@
3 months ago
- Keywords reporter-feedback added
Hi @schow,
Welcome to Trac!
Sorry that you're experiencing this issue. Could you provide a bit more detail? Some examples of slugs you are trying to use vs. what they are being changed to would help.
#4
@
3 months ago
- Resolution set to invalid
- Status changed from new to closed
Thanks for getting back to me! I just tried to repro again, and now I believe it's due to a buggy interaction with Yoast --
1) if I edit Yoast's slug, then the update is copied to the editor's slug area and the update proceeds normally -- it the slug is too long, it's truncated but if I edit in the Yoast area again, that change is saved.
2) However, if I update the editor's slug, then both Yoast's and editor's slug behave strangely -- my edits are often overwritten by the post id or a previous version of the slug. I often see the change even before trying to save my changes.
At this point, I suspect the bug is on Yoast's side, probably in their javascript. I'll go ahead and mark the resolution as invalid and thanks again for your time.
Apologies, a typo:
... if the title is re-edited, either the change cannot be saved, or the post id is substituted.
... if the url slug is re-edited, either the change cannot be saved, or the post id is substituted.