Skip to content

Commit 7211c69

Browse files
committed
refactor: remove deprecated getDocumentId method from Editor class
- Eliminated the getDocumentId method to streamline the Editor class, as it is no longer needed following recent changes to document identifier handling. - This refactor contributes to cleaner code and improved maintainability.
1 parent c6c811d commit 7211c69

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packages/super-editor/src/core/Editor.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,14 +1481,6 @@ export class Editor extends EventEmitter {
14811481
return html;
14821482
}
14831483

1484-
/**
1485-
* Get the document ID from the converter
1486-
* @returns {string|null} The unique SuperDoc ID for this document
1487-
*/
1488-
getDocumentId() {
1489-
return this.converter?.getSuperdocId() || null;
1490-
}
1491-
14921484
/**
14931485
* Get the document version from the converter
14941486
* @returns {string|null} The SuperDoc version stored in the document

0 commit comments

Comments
 (0)