Moved uuid asignment to ace base
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Directive, ElementRef, Input, ViewChild } from '@angular/core';
|
||||
import * as uuid from 'uuid';
|
||||
|
||||
import { EditorSettings } from "../../common/configs/editor.config";
|
||||
import { NewtonFile } from '../../common/types/file.type';
|
||||
@@ -17,7 +18,9 @@ export class AceEditorBase {
|
||||
|
||||
|
||||
constructor(
|
||||
) {}
|
||||
) {
|
||||
this.uuid = uuid.v4();
|
||||
}
|
||||
|
||||
|
||||
protected search() {
|
||||
|
||||
Reference in New Issue
Block a user