Skip to content

Commit

Permalink
Merge branch 'slate-performance' into write-scripture
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcouch-sil committed Oct 19, 2022
2 parents 43338f2 + 63838d8 commit e779046
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,6 @@ const withScrMarkers = (editor: CustomSlateEditor): CustomSlateEditor => {
const markerElement = Editor.above(editor, {
match: (n) =>
Element.isElement(n) &&
// n.type !== 'editor' &&
n.type === elementType &&
n.style === markerStyle,
});
Expand Down Expand Up @@ -922,12 +921,6 @@ const ScriptureChunkEditorSlate = memo(
<div
id={getScriptureChunkEditorSlateId(editorGuid, chunkIndex)}
>
{/* -------------------
{`${
scrChapterChunk.chunkNum
}/${virtualizedIndex}: ${JSON.stringify(
scrChapterChunk.contents,
).substring(0, 20)}`} */}
<Slate
editor={editor}
value={[{ text: 'Loading' }]}
Expand Down

0 comments on commit e779046

Please sign in to comment.