Skip to content

Commit

Permalink
refactor(editor): export TemplatePluginType in package
Browse files Browse the repository at this point in the history
  • Loading branch information
hejtful committed Jan 3, 2025
1 parent 7b7937f commit 9a22f05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/serlo-editor-integration/serlo-editor.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
defaultPlugins,
EditorPluginType,
TemplatePluginType,
type SerloEditorProps as EditorProps,
} from '@editor/package'
import { TemplatePluginType } from '@editor/types/template-plugin-type'
import { SerloOnlyFeaturesContext } from '@editor/utils/serlo-extra-context'
import dynamic from 'next/dynamic'

Expand Down
5 changes: 5 additions & 0 deletions packages/editor/src/package/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export { type PluginMenuType as Plugin } from '@editor/plugins/rows/utils/plugin

export { EditorPluginType } from '@editor/types/editor-plugin-type'

/**
* Exported for serlo.org
*/
export { TemplatePluginType } from '@editor/types/template-plugin-type'

/**
* Exported so that integrations can customize available plugins
* based on the default plugins.
Expand Down

0 comments on commit 9a22f05

Please sign in to comment.