Skip to content

Commit

Permalink
remove commented out tab prevention
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas-C committed Feb 4, 2025
1 parent 27e7630 commit f7ad470
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/editor/src/plugins/section/sectionPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ export const sectionPlugin = createPlugin<SectionElementType, SectionPluginOptio
options: {
allowedFirstElements: [PARAGRAPH_ELEMENT_TYPE, HEADING_ELEMENT_TYPE] as const,
},
// TODO: This is inherited from ED. I don't really know if we want to do it?
// shortcuts: {
// "disable-enter": {
// keyCondition: isKeyHotkey("tab"),
// handler: (_, event) => {
// event.preventDefault();
// return true;
// },
// },
// },
normalize: (editor, node, path, logger, opts) => {
if (!isSectionElement(node)) return false;

Expand Down

0 comments on commit f7ad470

Please sign in to comment.