quasar icon indicating copy to clipboard operation
quasar copied to clipboard

[V1][Bug] QEditor - Toolbar of Qeditor in Edge

Open Sambaja opened this issue 7 years ago • 6 comments

Software version

@quasar/app (v1+ only): 1.20 OS: Windows 10 Browsers: Edge

JsFiddle

https://codepen.io/anon/pen/qwzRJb?&editable=true&editors=101

What did you get as the error?

The toolbar is reformated when you use the align buttons and the lists (ordered and unordered).

What were you expecting?

Not be reformated.

What steps did you take, to get the error?

To reproduce this you just have to be on edge and click the align buttons or the list ones. This is exclusive to edge. I noticed that the q-editor__toolbar was moved out of the q-editor

before : https://puu.sh/DmsM9/038d17997c.png after : https://puu.sh/DmsM9/038d17997c.png

Sambaja avatar May 01 '19 16:05 Sambaja

Confirmed. Edge browser is erroneously messing with the DOM outside of the content target -- and it shouldn't! Looked for a solution all day but could not find it yet.

rstoenescu avatar May 02 '19 14:05 rstoenescu

Maybe something with closing tags. If model contains <div></div> at the end. All is working.

https://codepen.io/anon/pen/XwrLRE?editors=1010

mountash avatar May 04 '19 19:05 mountash

@rstoenescu take a look at the ugly hack here 😈

mountash avatar May 04 '19 20:05 mountash

Not an ugly hack, almost a polyfill. I did something like this in the past. Nice one

nothingismagick avatar May 04 '19 20:05 nothingismagick

So, then PR #4047

mountash avatar May 05 '19 06:05 mountash

Fix will be available in beta.21

rstoenescu avatar May 05 '19 11:05 rstoenescu