Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update platform-editor #19

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
154 changes: 100 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"platform-bible-utils": "file:../paranext-core/lib/platform-bible-utils"
},
"devDependencies": {
"@biblionexus-foundation/platform-editor": "^0.2.0",
"@biblionexus-foundation/platform-editor": "^0.3.0",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.10",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Editor, EditorOptions, EditorRef } from '@biblionexus-foundation/platform-editor';
import { Editorial, EditorOptions, EditorRef } from '@biblionexus-foundation/platform-editor';
import { VerseRef } from '@sillsdev/scripture';
import { useEffect, useRef } from 'react';
import { ProjectMetadata } from '@papi/core';
Expand Down Expand Up @@ -28,7 +28,7 @@ function ChapterView({ projectId, projectMetadata, verseRef }: ChapterViewProps)
<div className="position-title">
<p>{projectMetadata?.name || '...'}</p>
</div>
<Editor ref={editorRef} scrRef={verseRef} options={options} logger={logger} />
<Editorial ref={editorRef} scrRef={verseRef} options={options} logger={logger} />
</div>
);
}
Expand Down
Loading
Loading