mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
fix: send "new lines as breaks" option to the renderer
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
6c55da4e79
commit
29d137afbe
5 changed files with 32 additions and 13 deletions
|
@ -3,10 +3,9 @@
|
|||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import type { DarkModePreference } from '../../../redux/dark-mode/types';
|
||||
import type { ScrollState } from '../../editor-page/synced-scroll/scroll-props';
|
||||
import type { SlideOptions } from '@hedgedoc/commons';
|
||||
|
||||
import type { DarkModePreference } from '../../../redux/dark-mode/types'
|
||||
import type { ScrollState } from '../../editor-page/synced-scroll/scroll-props'
|
||||
import type { SlideOptions } from '@hedgedoc/commons'
|
||||
|
||||
export enum CommunicationMessageType {
|
||||
SET_MARKDOWN_CONTENT = 'SET_MARKDOWN_CONTENT',
|
||||
|
@ -31,6 +30,7 @@ export interface NoPayloadMessage<TYPE extends CommunicationMessageType> {
|
|||
export interface SetAdditionalConfigurationMessage {
|
||||
type: CommunicationMessageType.SET_ADDITIONAL_CONFIGURATION
|
||||
darkModePreference: DarkModePreference
|
||||
newLinesAreBreaks: boolean
|
||||
}
|
||||
|
||||
export interface ExtensionEvent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue