WAIT: Copy-Paste Heading in Structure Panel puts the content into the Rich Text Element

Hi,

I have probably found the following bug.

  1. I copy a heading element in the Structure Panel
  2. I select my last element in the Structure Panel so that it is inserted underneath. In my case “Rich Text”
  3. I insert the heading element

Instead of inserting the heading element after the rich text element as before, the JSON code is inserted within the rich text element.

I have already deactivated Advanced Themer to rule out whether the error comes from the PLugin. But the error still persisted

Edit: The problem is probably Rich Text: It also happens when I insert the image or other elements.

Edit2: I can reproduce the error on trybricks

Hi @ST90,

thank you for the bug report. This happens, because when you select “Rich Text” element, the focus goes automatically to the input control on the right. And then when you press “CTRL/CMD - V”, it inserts the text inside.

But, for example, if you click outside of text input, so that the focus is not in “input” control, then it will work. The same if you press “Right click” on rich text element, and press paste. It should paste another one below, right?

I would consider this as a no-bug, if you can confirm that it works like described above (with right-click and if going out of focus)

Matej

Hi @Matej ,

Thank you for your answer.

Yes, it works via right-click and paste, but I find the complete workflow for working quickly is lost. I often create the text for the website in advance and then copy and paste it piece by piece. At the end, I then add the images. The current state makes this process unnecessarily complicated.

The problem has only occurred since the last update; with version 1.10.3 it still worked perfectly. This is particularly annoying as the editor is already a bit buggy, such as changes not being displayed immediately or elements being unexpectedly moved to the end of the container even though the focus is set correctly. As a result, there are also many more careless mistakes

It would be great if you could reverse this change in the next update. That would improve the workflow a lot.

Best,
Alex

Briefly:
This also works, but the auto-focus is set to the input as soon as I select Rich Text in the Structure Panel.

This means I have to move the mouse all the way to the left, remove the focus from the input and only then can I insert it. Unfortunately, this is totally inconvenient

Hi,

yeah, you are right. And it’s actually not consistent with other elements. I opened an internal bug report about this.

Thanks,
Matej

Thank you @Matej

Best,
Alex