Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Article write panel: Pluggable UI callback 'article_ui.extend_col_1' for volatile content missing #1917

Open
rwetzlmayr opened this issue Apr 7, 2024 · 1 comment

Comments

@rwetzlmayr
Copy link
Contributor

Currently, the article_ui.extend_col_1 pluggable UI callback is only called once, when the Article Write Panel is first drawn:

echo pluggable_ui('article_ui', 'extend_col_1', '', $rs);

In subsequent renderings of this panel after intermediate "save" operations, there is a short-cut bail-out branch:

This hampers plugins that want to extend this part of the UI for displaying volatile content.

I suggest extending the current article_ui.extend_col_1 events scope to fire the event when volatile parts of the write panel are redrawn as well.

@bloatware
Copy link
Member

Sounds logical. The only drawback I can imagine is plugins (if any) firing js on full page load, they might need to be adapted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants