mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 23:54:42 -04:00
Add prettier for codestyle and re-format everything (#1294)
This commit is contained in:
parent
8b78154075
commit
0aae1f70d2
319 changed files with 4809 additions and 3936 deletions
|
@ -15,11 +15,14 @@ import {
|
|||
RenderIframeMessageType
|
||||
} from './rendering-message'
|
||||
|
||||
export class IframeRendererToEditorCommunicator extends IframeCommunicator<RendererToEditorIframeMessage, EditorToRendererIframeMessage> {
|
||||
private onSetMarkdownContentHandler?: ((markdownContent: string) => void)
|
||||
private onSetDarkModeHandler?: ((darkModeActivated: boolean) => void)
|
||||
private onSetScrollStateHandler?: ((scrollState: ScrollState) => void)
|
||||
private onSetBaseConfigurationHandler?: ((baseConfiguration: BaseConfiguration) => void)
|
||||
export class IframeRendererToEditorCommunicator extends IframeCommunicator<
|
||||
RendererToEditorIframeMessage,
|
||||
EditorToRendererIframeMessage
|
||||
> {
|
||||
private onSetMarkdownContentHandler?: (markdownContent: string) => void
|
||||
private onSetDarkModeHandler?: (darkModeActivated: boolean) => void
|
||||
private onSetScrollStateHandler?: (scrollState: ScrollState) => void
|
||||
private onSetBaseConfigurationHandler?: (baseConfiguration: BaseConfiguration) => void
|
||||
|
||||
public onSetBaseConfiguration(handler?: (baseConfiguration: BaseConfiguration) => void): void {
|
||||
this.onSetBaseConfigurationHandler = handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue