Replies: 2 comments 2 replies
-
@emhat098 Hi, Did you manage to find a solution? I'm facing the same issue, but with Dialog component. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I found a way for working around. Here is the steps:
/**
* Handle tiny editor after init.
* @param editor
*/
const handleInitInstanceCallback = function (editor: any) {
const dialogContainer = document.getElementById('dialog-form');
if (dialogContainer) {
const auxElements = document.querySelectorAll('body > .tox-tinymce-aux');
if (auxElements.length)
dialogContainer.append(auxElements[auxElements.length - 1]);
}
};
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
First I am very appreciate about this package. Honestly, it is awesome. I never see the UI package like this before. Good job.
And I am working on my current project and I want to embed the TinyMCE editor on the
Tabs
components. Somehow, the controls in TinyMCE is not working well. I was research and try to investigating theclassName
andTailwind
but it looks like there is no hope to me. You can see the code and image bellow:create-blog-button.tsx
blog-form.tsx
/components/ui/Editor.tsx
Here is the error:

Anyone, have an idea. Please let know.
Thank you so much.
Beta Was this translation helpful? Give feedback.
All reactions