File tree Expand file tree Collapse file tree
projects/ngx-exitus-tiptap-editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " ngx-exitus-tiptap-editor" ,
3- "version" : " 0.0.24 " ,
3+ "version" : " 0.0.26 " ,
44 "description" : " Angular bindings and components for a Tiptap-based rich text editor with Math/Katex support." ,
55 "author" : " marcelinombb" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -135,15 +135,14 @@ export class ExitusTiptapEditor implements OnDestroy {
135135 ...TableExtensions ,
136136 SpellCheckerExtension . configure ( this . extensionsConfig ( ) ?. spellChecker ) ,
137137 ] ,
138- content : this . content ( ) ,
138+ // content: this.content(),
139139 onUpdate : ( { editor } ) => {
140140 const html = editor . getHTML ( ) ;
141141 this . onContentChange . emit ( html ) ;
142142 } ,
143143 onCreate : ( { editor } ) => {
144- const html = editor . getHTML ( ) ;
144+ editor . commands . setContent ( this . content ( ) ) ;
145145 this . onEditorReady . emit ( editor ) ;
146- this . onContentChange . emit ( html ) ;
147146 } ,
148147 } ) ;
149148
You can’t perform that action at this time.
0 commit comments