hello.
I discovered that after upgrading to 2.1, headings in blog posts aren’t working as they are supposed to, creating new ones isn’t possible, allthough the old ones still display.
I’m using the keyboard binding to make them.
It works for me both in text and visual mode.
There are some things you need to check for us to understand what is going on under the hood of your site:
- enable debugging and check logs to see if some plugin or the theme are throwing errors, warnings and what not
- try deactivating all plugins and reverting to a default theme to see if the issue persists, and the activate plugins one by one testing each time to see which plugin might cause the issue
- check the console (right click, inspect and select console tab) to see if JS errors are occurring that might affect the editor
Paste here any error you might find in console or in the logs of your site so that we can help
it’s really weird because on pages, it works, also, there’s no plugins except ones from the classicPress directory and activityPub, nothing more.
Try the above debugging and see if something comes up.
Also try clearing cache and cookies.
Most probably it’s a JS error
Can you give us a screenshot of what happens?
nothing happens, there’s no way I can add headings, just nothing happens.
So, you are using the TinyMCE editor to add headings and paragraphs.
When you select some text, then click on the headings dropdown, can you see the 6 headings there?
If yes, what happens when you click on one of them? Is there any message in the console when you click on one of them?
If not, can you post a screenshot of your editor with the dropdown open?
I wonder if he is using the TEXT editor instead of the visual one. They are different in layout.
Just to be clear first pic shows the VISUAL EDITOR in action, second one the text editor.
The visual editor is a WYSIWYG editor allowing you to use icons and dropdowns to format text. The text editor you can use when writing your post in HTML or Markdown.
The tabs on the right are used to select which of the two you are using.
BTW, I am using FX Builder plugin for ClassicPress from the ClassicPress directory, that is why the screen shows lilke this. But the editor is the same because it uses it to fill in the sections you create with it.
There is probably a javascript error. It cannot be ruled out that the update to version 2.1 resulted in the corruption of some files. It can happen. It would be advisable to try the automatic update again, and then perhaps manually.
The text editor you can use when writing your post in HTML or Markdown.
I don’t see that markdown can be used, although I would like to. It wouldn’t hurt if in a future version of CP, the HTML editor allowed this switch.
For markdown you need a plugin. But it’s possible to use it.
I’m using the graphical editor, and nope, the headings are gone there. I can’t post a screenshot because this computer will crash because how it is set up.
Take a pic with the phone and login to the forum on the phone to post it if you can. Then post also a list of plugins and the theme you are using so thar I can try to reproduce the bug.
I’m using
*the activity pub plugin from wordpress
*unwrap shortlinks
*check plugin status
*classicPress directory integration.
*enable mastodon apps (installed after I saw that issue) for testing purposes.
*remove revisions
*shorten it
If you have already tried to disable all plugins and have already used a standard theme (even with plugins disabled), and despite this, the error persists, this error does not depend on the plugins or the theme, but on some error in the core. Have you tried updating ClassicPress again? If you have a corrupt file in the core caused by a bad update, it’s all for naught. You won’t fix the problem unless you update ClassicPress again. And to remove any doubts, if the error persists, restore the core files manually, deleting and reloading the wp-includes and wp-admin core folders via ftp.
I have solved many apparently incomprehensible errors in this way.
I am not able to replicate the error, no JS errors in console for back-end aside from some firefox deprecated properties and no JS errors in front-end (using the default new CP theme and your list of plugins).
No PHP errors or conflicts either (I have debugging enabled on my test site and I can immediately see them if any but none shows).
For context, I do have the headings dropdown and I can use it allright.
In this second screenshot I just placed the curson in a line of text, clicked the dropdown and selected the heading I wanted to format it with and it works, so it might really be a corrupted file (or files) in core and the advice to reinstall core by removing wp-admin and wp-include and reupload fresh ones is the only other thing I can think of as @iljester suggests.
I’ll try updating and stuff
I’m dump, wrong keybinding.
sorry everyone.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.