Opened 5 years ago
Last modified 4 years ago
#50216 new defect (bug)
On the bug of replace_editor
Reported by: | jack960330 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.4.1 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
I'll submit a suspected bug, replace_editor seems that editor's hook will load twice when loading the existing articles, which makes me have to deal with the code. In wp5.3, I have to use js to delete the unnecessary DOM, and at the same time, my katex's auto renderer cannot work properly (browser recognition is executed in weird mode). In wp5.4.x, because $post is null in this case, I can
directly return through judgment. But this is not normal. I will send the message to the core channel at the same time.
Change History (3)
Note: See
TracTickets for help on using
tickets.
@jack960330 Thank you for reporting. It looks like the ticket #51258 talks about the same thing. Please check that one out if you want.