mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Don't send frontmatter to renderer (#2259)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
c50037fc9f
commit
f68b3ff056
24 changed files with 215 additions and 176 deletions
|
@ -7,7 +7,6 @@
|
|||
import React, { Fragment } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { updateNoteTitleByFirstHeading } from '../../redux/note-details/methods'
|
||||
import { useSendFrontmatterInfoFromReduxToRenderer } from '../editor-page/renderer-pane/hooks/use-send-frontmatter-info-from-redux-to-renderer'
|
||||
import { DocumentInfobar } from './document-infobar'
|
||||
import { RenderIframe } from '../editor-page/renderer-pane/render-iframe'
|
||||
import { RendererType } from '../render-page/window-post-message-communicator/rendering-message'
|
||||
|
@ -20,7 +19,6 @@ export const DocumentReadOnlyPageContent: React.FC = () => {
|
|||
useTranslation()
|
||||
|
||||
const markdownContentLines = useTrimmedNoteMarkdownContentWithoutFrontmatter()
|
||||
useSendFrontmatterInfoFromReduxToRenderer()
|
||||
|
||||
// TODO Change todo values with real ones as soon as the backend is ready.
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue