Skip to content

Commit

Permalink
chore: change editor unit name
Browse files Browse the repository at this point in the history
  • Loading branch information
wzhudev committed Jun 18, 2024
1 parent 48a1c9f commit 92f1e89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/common/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

export const DOCS_NORMAL_EDITOR_UNIT_ID_KEY = '__defaultDocumentNormalEditorSpecialUnitId_20231006__';
export const DOCS_NORMAL_EDITOR_UNIT_ID_KEY = 'DOCS_NORMAL_EDITOR';

export const DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY = '__defaultDocumentFormulaBarEditorSpecialUnitId_20231012__';
export const DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY = 'DOCS_FORMULA_BAR_EDITOR';

export const DEFAULT_EMPTY_DOCUMENT_VALUE = '\r\n';

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/services/instance/instance.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface IUniverInstanceService {
/** Subscribe to curtain type of units' creation. */
getTypeOfUnitAdded$<T extends UnitModel>(type: UnitType): Observable<T>;

/** @interal */
/** @ignore */
__addUnit(unit: UnitModel): void;

/** Omits value when a UnitModel is disposed. */
Expand Down

0 comments on commit 92f1e89

Please sign in to comment.