Skip to content

Commit

Permalink
Merge "[cms] Fix TinyMCE CSS imports"
Browse files Browse the repository at this point in the history
GitOrigin-RevId: e7fe91909c9de719c6ab82b261d895252cf5fd34
  • Loading branch information
tmadeira authored and Copybara committed Nov 28, 2023
1 parent d402189 commit 8c2bb25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platform/wab/src/wab/client/components/TinyEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ if (window && "matchMedia" in window) {
require("tinymce/plugins/visualblocks");
}

import "tinymce/skins/ui/tinymce-5/content.min.css";
import "tinymce/skins/ui/tinymce-5/skin.min.css";

import { useAppCtx } from "@/wab/client/contexts/AppContexts";
Expand All @@ -44,6 +43,8 @@ export function TinyEditor({ value, onChange, ...props }: TinyEditorProps) {
<div>
<Editor
init={{
skin: false,
content_css: false,
height: 500,
width: 600,
menubar: false,
Expand Down

0 comments on commit 8c2bb25

Please sign in to comment.