feat: enhance rich text editor with new features and plugins
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 23s
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 23s
- Added support for additional Lexical plugins: link, markdown, table, and checklist. - Implemented Markdown shortcuts and transformers for horizontal rules and tables. - Updated editor theme and styles to accommodate new elements like tables and links. - Improved the overall functionality of the rich text editor with new matchers for URLs and emails.
This commit is contained in:
@@ -18,6 +18,8 @@ const theme: EditorThemeClasses = {
|
||||
ol: 'editor-list-ol',
|
||||
ul: 'editor-list-ul',
|
||||
listitem: 'editor-listitem',
|
||||
listitemChecked: 'editor-listitem-checked',
|
||||
listitemUnchecked: 'editor-listitem-unchecked',
|
||||
},
|
||||
text: {
|
||||
bold: 'editor-text-bold',
|
||||
@@ -28,6 +30,11 @@ const theme: EditorThemeClasses = {
|
||||
},
|
||||
code: 'editor-code',
|
||||
codeHighlight: {},
|
||||
link: 'editor-link',
|
||||
table: 'editor-table',
|
||||
tableCell: 'editor-table-cell',
|
||||
tableCellHeader: 'editor-table-cell-header',
|
||||
hr: 'editor-hr',
|
||||
};
|
||||
|
||||
export default theme;
|
||||
|
||||
Reference in New Issue
Block a user