# Code Editor Toggle Floating Bug

**URL:** <https://forum.pinegrow.com/t/code-editor-toggle-floating-bug/6896>\
**Category:** Bug Reports\
**Created:** [September 5, 2022, 1:43am UTC](https://forum.pinegrow.com/t/code-editor-toggle-floating-bug/6896 "2022-09-05T01:43:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![creativedaz](https://avatars.discourse-cdn.com/v4/letter/c/e9c0ed/32.png) [@creativedaz](https://forum.pinegrow.com/u/creativedaz)\
**Post date:** [September 5, 2022, 1:43am UTC](https://forum.pinegrow.com/t/code-editor-toggle-floating-bug/6896/1 "2022-09-05T01:43:39Z")

</div>

When I float the code editor and select an element in Tree Tab, the corresponding Active Style in Style Tab is not getting selected. Is there a way to separate the built-in code editor without disturbing the function of Style Tab?

It’s supposed to be like this.

 ![supposed-to-be-like-this](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/d/d5e9e2e05c3cf7ce4a511181a6f20381ce9dfdfb.jpeg)

But when I float the code editor, it’s like this.

 ![bug-no-style-selected](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/e/ee8e1276ad4e5ddde0e40522fa00c49ec730050e.png)  
Notice that I selected the _section.about\_us_ in Tree Tab. But the _style_ in Style Tab is not getting updated.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [November 18, 2022, 7:36pm UTC](https://forum.pinegrow.com/t/code-editor-toggle-floating-bug/6896/2 "2022-11-18T19:36:34Z")

</div>

@creativedaz I’m unable to replicate the problem. Are you getting any red error messages in the console? (right click on PG logo → Inspect to open Dev Tools).
