build test
This commit is contained in:
parent
38b0176a14
commit
b8c8113700
|
@ -34,6 +34,7 @@ interface MediaItem {
|
|||
|
||||
const MediaView = (props: { media: MediaItem; kind: Shout['layout'] }) => {
|
||||
const { t } = useLocalize()
|
||||
console.log('!!! test:')
|
||||
return (
|
||||
<>
|
||||
<Switch fallback={<a href={props.media.url}>{t('Cannot show this media type')}</a>}>
|
||||
|
|
|
@ -4,7 +4,6 @@ import { Icon } from '../_shared/Icon'
|
|||
import { InlineForm } from './InlineForm'
|
||||
import styles from './EditorFloatingMenu.module.scss'
|
||||
import HTMLParser from 'html-to-json-parser'
|
||||
import { useLocalize } from '../../context/localize'
|
||||
|
||||
type FloatingMenuProps = {
|
||||
editor: Editor
|
||||
|
@ -19,7 +18,6 @@ const embedData = async (data) => {
|
|||
}
|
||||
|
||||
export const EditorFloatingMenu = (props: FloatingMenuProps) => {
|
||||
const { t } = useLocalize()
|
||||
const [inlineEditorOpen, setInlineEditorOpen] = createSignal<boolean>(false)
|
||||
|
||||
const handleEmbedFormSubmit = async (value: string) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user