7 | | Right, an action would solve the problem with the "missing" `edit-form-advanced.php` when `replace_editor` returns true. There are some caveats though. As mentioned `admin-footer.php` is still included, but `admin-header.php` is not. Also thinks like `$current_screen->is_block_editor( false );`, missing PHP globals like `$post_ID`, etc. Perhaps adding a big, nice docblock would help somewhat. |
| 7 | Right, an action would solve the problem with the "missing" `edit-form-advanced.php` when `replace_editor` returns true. There are some caveats though. As mentioned `admin-footer.php` is still included, but `admin-header.php` is not. Also things like `$current_screen->is_block_editor( false );`, missing PHP globals like `$post_ID`, etc. Perhaps adding a big, nice docblock would help somewhat. |