Make WordPress Core

Opened 20 months ago

Last modified 12 months 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:


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)

This ticket was mentioned in Slack in #core by peterwilsoncc. View the logs.

12 months ago

#2 @mimitips
12 months ago

@jack960330 Thank you for reporting. It looks like the ticket #51258 talks about the same thing. Please check that one out if you want.

#3 @jack960330
12 months ago

I looked at #51258 and I'm a little unsure what the exact relation is to this issue

Note: See TracTickets for help on using tickets.