Skip to content
Snippets Groups Projects
Commit 1c7b3161 authored by chris's avatar chris
Browse files

render notes

parent a643d1c9
No related branches found
No related tags found
No related merge requests found
Pipeline #65363 passed with stages
in 2 minutes and 12 seconds
......@@ -50,7 +50,7 @@ const Editoria = () => {
autoFocus
placeholder="Type Something..."
fileUpload={file => renderImage(file)}
value={`<p class="paragraph">this is <footnote id="d42f8b14-ccd1-4d16-919a-9adecab62656">a</footnote>some text with some more text</p>`}
value={demo}
// readonly
layout={layout}
onChange={debounce(source => {
......
......@@ -76,31 +76,7 @@ const getComments = comments => {
console.log(comments);
};
const setComments = (
comments = [
{
id: '82831f2d-281c-4a0f-b326-c4cfb4ff2752',
from: 20,
to: 25,
data: {
type: 'comment',
pmFrom: 20,
pmTo: 25,
conversation: [
{
content: '111',
displayName: 'admin',
userId: 'b3cfc28e-0f2e-45b5-b505-e66783d4f946',
timestamp: 1739471420783,
},
],
title: '',
group: 'main',
viewId: 'main',
},
},
],
) => {
const setComments = () => {
return comments;
};
......
......@@ -41,6 +41,10 @@ export default ({ node, view }) => {
return editable;
});
// const filteredplugins = app.PmPlugins.getAll().filter(
// plugin => !plugin.key.includes('comment') && !plugin.key.includes('yjs'),
// );
const setEditorRef = useCallback(noteNode => {
if (noteNode) {
WaxOverlays = ComponentPlugin('waxOverlays');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment