Skip to content
Snippets Groups Projects
Commit 92cf80f7 authored by Diego Rodríguez's avatar Diego Rodríguez
Browse files

Always set codeMirrorConfig in local storage

parent 67ee6e28
No related branches found
No related tags found
1 merge request!8Dja files page
......@@ -231,6 +231,10 @@ export class MateFunComponent {
}
this.copiaContenidoArchivo = this.archivo.contenido;
this.copiaNombreArchivo = this.archivo.nombre;
localStorage.setItem(
"codeMirrorConfig",
JSON.stringify(this.configCodeMirror)
);
if (authService.getUser().configuracion) {
var config: Configuracion = authService.getUser().configuracion;
if (config.fontSizeEditor <= 30 && config.fontSizeEditor >= 8) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment