Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
remove highlight ability from TipTap editor
Dave Earley3ef5929e32b5
diff --git a/frontend/src/components/common/Editor/index.tsx b/frontend/src/components/common/Editor/index.tsxindex 0278ac1cf..5b6a848ad 100644--- a/frontend/src/components/common/Editor/index.tsx+++ b/frontend/src/components/common/Editor/index.tsx@@ -18,7 +18,15 @@ interface EditorProps {error?: string;}-export const Editor = ({error, onChange, value, label = '', required = false, className = '', description = ''}: EditorProps) => {+export const Editor = ({+ error,+ onChange,+ value,+ label = '',+ required = false,+ className = '',+ description = ''+ }: EditorProps) => {const editor = useEditor({extensions: [StarterKit,@@ -42,7 +50,7 @@ export const Editor = ({error, onChange, value, label = '', required = false, clreturn (<div className={classNames([classes.inputWrapper, className])}>{label && <InputLabel required={required} onClick={() => editor?.commands.focus()}>{label}</InputLabel>}- {description && <InputDescription>{description}</InputDescription> }+ {description && <InputDescription>{description}</InputDescription>}<RichTextEditor editor={editor}><RichTextEditor.Toolbar><RichTextEditor.ControlsGroup>@@ -50,7 +58,6 @@ export const Editor = ({error, onChange, value, label = '', required = false, cl<RichTextEditor.Italic/><RichTextEditor.Underline/><RichTextEditor.ClearFormatting/>- <RichTextEditor.Highlight/></RichTextEditor.ControlsGroup><RichTextEditor.ControlsGroup>