EnlighterJS / Plugin.WordPress

:package: Official WordPress Plugin of EnlighterJS
http://wordpress.org/plugins/enlighter/
GNU General Public License v2.0
115 stars 17 forks source link

toolbar settings not working #330

Closed Vivarsh closed 3 years ago

Vivarsh commented 3 years ago

Toolbar settings are not working. After making changes to the toolbar settings, the changes are getting saved for admin only. If I log out of admin, the toolbar is visible on the code with default settings. For example, if I hide the toolbar and then log out of admin, I will see the toolbar on the code.

AndiDittrich commented 3 years ago

sounds like an active cache/optimization plugin - don't forget to clear caches after applying changes

Vivarsh commented 3 years ago

Sorry for the late update. Thanks for the solution, it worked. I am facing another issue now. The code indentation doesn't look properly on mobile and even on browsers except for the chrome browser (only on desktop). Refer to the below screenshots for more clarity:

On Chrome: image

On other browsers and mobile: image

AndiDittrich commented 3 years ago

do you use tabs or whitespaces as indentation ?

Vivarsh commented 3 years ago

yes. whitespaces.

Vivarsh commented 3 years ago

any update?

AndiDittrich commented 3 years ago

seems to be a css issue - since i'm unable to reproduce it i would assume that it's caused by your template. if you can provide a link i'll take a short look onto

AndiDittrich commented 3 years ago

it's not an Enlighter issue... you're using some kind of optimization/minification plugin which strips leading whitespaces from the html

Vivarsh commented 3 years ago

ok thanks for the update

AndiDittrich commented 3 years ago

any updates ? otherwise i'll close the issue since it's not Enlighter related

Vivarsh commented 3 years ago

No thanks. We can close the issue