DEV Community

Agik Setiawan
Agik Setiawan

Posted on

TinyMCE can't insert Code and dropdown with Chakra UI Modal

Hi, I have problem when work with TinyMCE and Chakra UI modal. I can't insert code plugin and dropdown.

Solution:

add "trapFocus={false}" in modal.

<Modal isCentered isOpen={isOpen} onClose={onClose} size={"6xl"} trapFocus={false}>
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
mrinasugosh profile image
Mrinalini Sugosh (Mrina)

@agiksetiawan Have you tried adding this to Github Issues for us to help you address this?