Open trowa88 opened 9 years ago
Which version of MediumEditor are you using?
version : 5.5.2 using
Any chance to update to the latest to see if the bug is still present?
I am using latest and it seems to be working fine.
I have the same problem using Firefox, the latest version of the medium-editor (5.13) and latest version of vanilla-color-picker (0.1.4). It works in Chrome and Opera, but in Firefox I can not select the color. The cursor changes according to the element in the background. In the screenshot, if the cursor is on the red color, the cursor will be the text selector and you can't click on the color.
Have you solved the problem already?
@stfnh I'm not sure I understand the issue you're describing. Specifically, could you try to explain this another way or in more detail?
The cursor changes according to the element in the background. In the screenshot, if the cursor is on the red color, the cursor will be the text selector and you can't click on the color.
Thanks, @nmielnik The things is, that I can not select the color. The cursor acts as there would not be a colorpicker. It would like like this (see the cursor now):
@stfnh could you provide some example of this bug happening? Perhaps a jsfiddle, jsbin, codepen, etc.? I have a feeling this might be something simple, but I'd need to be able to investigate to have any idea...
@nmielnik Basically, this is the point of issue. https://jsfiddle.net/6cn6epbg/ You can't see "test" alert in inner div of button on IE whatever you do.
@stfnh @nmielnik Just I modify this code
var picker = vanillaColorPicker(this.document.querySelector(".medium-editor-toolbar-active .editor-color-picker"));
to this:
var picker = vanillaColorPicker(this.document.querySelector(".medium-editor-toolbar-active .editor-color-picker").parentNode);
this code not working IE11
In IE11, color picker focus lost....