mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 10:15:17 -04:00
refactor: rename "optional app extensions" into "all app extensions"
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
c39561f8e2
commit
0809e01b2d
7 changed files with 13 additions and 13 deletions
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { optionalAppExtensions } from '../../../extensions/extra-integrations/optional-app-extensions'
|
||||
import { allAppExtensions } from '../../../extensions/extra-integrations/all-app-extensions'
|
||||
import { useFrontendConfig } from '../../common/frontend-config-context/use-frontend-config'
|
||||
import type { MarkdownRendererExtension } from '../extensions/base/markdown-renderer-extension'
|
||||
import { DebuggerMarkdownExtension } from '../extensions/debugger-markdown-extension'
|
||||
|
@ -32,7 +32,7 @@ export const useMarkdownExtensions = (
|
|||
throw new Error("can't build markdown render extensions without event emitter.")
|
||||
}
|
||||
return [
|
||||
...optionalAppExtensions.flatMap((extension) =>
|
||||
...allAppExtensions.flatMap((extension) =>
|
||||
extension.buildMarkdownRendererExtensions({
|
||||
frontendConfig: frontendConfig,
|
||||
eventEmitter: extensionEventEmitter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue