Jump to content

Recommended Posts

Posted

I'm experiencing a weird bug with CKEditor that seems to occur when a neighbouring field in the same row is taller than the CKEditor field.

Firefox: when typing the cursor jumps to the start of the CKEditor text area with every keypress.

IE: when typing the text appears below the CKEditor window.

Chrome: the bug does not occur.

The screenshots below show the result of typing the second line "How now brown cow?"...

All browsers, neighbouring field shorter than CKEditor field (no bug)

wi8Fe0y.jpg

Firefox, neighbouring field taller than CKEditor field

02BO6v7.jpg

IE v11, neighbouring field taller than CKEditor field

ABSW6LZ.jpg

If someone can confirm they get the same bug I'll file an issue on Github. Thanks.

Posted

Whoa. That's the strangest thing I have ever seen. Just wow.

Can't test here at the moment, but will try have a look later.

Quick question: Does this happen in the current stable?

(PS: You've made me drink a brown cow now.)

Posted

Quick question: Does this happen in the current stable?

Just tried the current stable and can't replicate the bug.

Posted

I can confirm this since 2.6.13 up to 2.6.18

https://processwire.com/talk/topic/10713-field-dependency-switches-uninvolved-ckeditor-field-into-rtl-mode/

You've tracked down the real issue on this - in the other topic we don't get why this happens...

i'm working often with two column layout for the fields...and don't get the problem like you.

Can you check if inline mode works? This was the result as a workaround since nobody else answers and seems to have that problem.

regards mr-fan

Posted

Can you check if inline mode works?

Setting the CKEditor field to inline mode does fix the bug.

I think I have traced the bug back to these lines of JS code, which attempts to match the height of adjacent columns with every change (e.g. keypress) to the CKEditor field. Will open a Github issue for this.

  • Like 1
Posted

Great thank you for this closer look on this issue!

I don't get it and used the inline workaround on this...

Best regards mr-fan

Posted

Github issue is here for those interested, along with a suggestion for an alternative approach to making the input form pretty.

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...