diff --git a/editors/editoria/src/Editoria.js b/editors/editoria/src/Editoria.js index 121d0ee25aab5ef5532f8e41e77d063c67732260..6d3908bad419177023ee547df367b7ef51ef61da 100644 --- a/editors/editoria/src/Editoria.js +++ b/editors/editoria/src/Editoria.js @@ -98,7 +98,7 @@ const user = { userId: "1234", username: "demo" }; - +// USE FOR TRACK TEST const text = `<ul><li><p class="paragraph">this is the li content</p></li><li><p class="paragraph">And another</p></li></ul><h1>this is a title</h1><p class="paragraph" data-track="[{"type":"block_change","user":"editor.user.id","username":"editor.user.username","date":26069447,"before":{"type":"author","attrs":{"class":"author"}}}]">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p><p class="author">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>`; class Editoria extends Component { @@ -114,8 +114,7 @@ class Editoria extends Component { layout="editoria" fileUpload={file => renderImage(file)} debug - TrackChange - value={text} + value="" user={user} > {({ editor, view, ...props }) => (