EnlighterJS / Plugin.WordPress

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

Buttons on hover with bbPress - not visible #211

Closed ajtruckle closed 4 years ago

ajtruckle commented 4 years ago

According to the demos online when you hover over the code a toolbar should show:

buttons

I have checked my EnlighterJS settings and it has them switched on:

options

But in my bbPress topics no buttons can be seen:

buttons2

Yet, as you can see, if I hover over the area for the buttons they are live and I can click. Why can't I see them?

ajtruckle commented 4 years ago

Similarly, the highlighting of the current mouse row doesn't see to work. I have added an example here to the public forum area of my site (so no need to create an account):

https://www.publictalksoftware.co.uk/support-forums/topic/this-is-a-test-for-debugging/

AndiDittrich commented 4 years ago

i assume that you're theme styles are overriding a lot of the EnlighterJS core styles...

ajtruckle commented 4 years ago

I would guess so. Or the .bbp-forum styles are superseding yours. I have provided a link to an example for you if it is going to help us get to the bottom of the issue.

At the moment I am just so pleased that I can input code in my forum topics for the benefit of users. So it will just be nice to get these finer bits like the toolbar buttons visible etc.

AndiDittrich commented 4 years ago

Screenshot_2020-02-15_14-00-23

the issue is caused by the bb-press id selector....

to avoid such issues in the future EnlighterJS v3 uses another markup structure without standard ol/li elements

ajtruckle commented 4 years ago

Thanks. So:

  1. Is there a temporary solution to this or must I live with it?
  2. I saw your related response about EnlighterJS v3 here but my problem is that I don't know how to install this EnlighterJS v3.
AndiDittrich commented 4 years ago

just override all styles i've disabled (top right of the screenshot)

Enlighter v4-beta1 is available here on GitHub (release section) - you have to install it manually.