Skip to content

Commit

Permalink
iOS: Enable table popup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Apr 17, 2024
1 parent cdc8695 commit a09eb4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function Editor(props) {
<div className="editor-core" ref={editorRef}>
<div className="relative-container">
{refReady && !props.disableUI && <Fragment>
{['web'].includes(props.viewMode) && !editorState.link?.popup.active && editorState.table.isTableSelected() && <TablePopup parentRef={editorRef} tableState={editorState.table} /> }
{['ios', 'web'].includes(props.viewMode) && !editorState.link?.popup.active && editorState.table.isTableSelected() && <TablePopup parentRef={editorRef} tableState={editorState.table} /> }
{editorState.link && <LinkPopup parentRef={editorRef} pluginState={editorState.link.popup}/>}
{!['web'].includes(props.viewMode) && editorState.highlight && <HighlightPopup parentRef={editorRef} highlightState={editorState.highlight} citationState={editorState.citation}/>}
{!['web'].includes(props.viewMode) && editorState.image && <ImagePopup parentRef={editorRef} imageState={editorState.image} citationState={editorState.citation}/>}
Expand Down

0 comments on commit a09eb4a

Please sign in to comment.