diff --git a/craft/src/panels/right/styles/GenericPropsEditor.tsx b/craft/src/panels/right/styles/GenericPropsEditor.tsx index ed0233b..c8525fa 100644 --- a/craft/src/panels/right/styles/GenericPropsEditor.tsx +++ b/craft/src/panels/right/styles/GenericPropsEditor.tsx @@ -1,4 +1,4 @@ -import React, { useState } from 'react'; +import React from 'react'; import { TEXT_COLORS, BG_COLORS, @@ -17,79 +17,7 @@ import { useNodeProp, } from './shared'; import { ArrayItemFieldsEditor } from './ArrayItemFields'; -import { Modal } from '../../../ui/Modal'; -import { CodeEditor } from '../../../ui/CodeEditor'; - -/* ---------- "Edit HTML" modal for the HtmlBlock `code` prop ---------- - `code` is raw HTML (potentially many lines, embedded