HTML Editor go on

This commit is contained in:
Surya Paolo
2022-11-13 22:39:07 +01:00
parent 3285892abf
commit 60cf27c002
3 changed files with 39 additions and 1 deletions

4
.gitignore vendored
View File

@@ -21,3 +21,7 @@ localhost.key
localhost.crt localhost.crt
logmanagers.txt logmanagers.txt
errlogin.txt errlogin.txt
src/.DS_Store
.gitignore
src/server/router/.DS_Store
src/server/.DS_Store

View File

@@ -47,6 +47,9 @@ const MyElemSchema = new Schema({
parambool: { parambool: {
type: Boolean, type: Boolean,
}, },
span: {
type: Boolean,
},
parambool2: { parambool2: {
type: Boolean, type: Boolean,
}, },
@@ -102,9 +105,40 @@ const MyElemSchema = new Schema({
class: { class: {
type: String, type: String,
}, },
class2: {
type: String,
},
styleadd: { styleadd: {
type: String, type: String,
}, },
image: {
type: String,
},
listcards: [
{
imagefile: {
type: String,
},
alt: {
type: String,
},
description: {
type: String,
},
size: {
type: String,
},
color: {
type: String
},
content: {
type: String
},
colorsub: {
type: String
},
},
],
list: [ list: [
{ {
imagefile: { imagefile: {

View File

@@ -3759,7 +3759,7 @@ class Telegram {
const rec = this.getRecInMem(msg); const rec = this.getRecInMem(msg);
if (rec) { if (rec) {
if (rec.user) { if (rec.user) {
User.SetLang(this.idapp, rec.user._id, lang); User.SetLang(null, this.idapp, rec.user._id, lang);
rec.user.lang = lang; rec.user.lang = lang;
} }
rec.lang = lang; rec.lang = lang;