HTML Editor go on
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -21,3 +21,7 @@ localhost.key
|
||||
localhost.crt
|
||||
logmanagers.txt
|
||||
errlogin.txt
|
||||
src/.DS_Store
|
||||
.gitignore
|
||||
src/server/router/.DS_Store
|
||||
src/server/.DS_Store
|
||||
|
||||
@@ -47,6 +47,9 @@ const MyElemSchema = new Schema({
|
||||
parambool: {
|
||||
type: Boolean,
|
||||
},
|
||||
span: {
|
||||
type: Boolean,
|
||||
},
|
||||
parambool2: {
|
||||
type: Boolean,
|
||||
},
|
||||
@@ -102,9 +105,40 @@ const MyElemSchema = new Schema({
|
||||
class: {
|
||||
type: String,
|
||||
},
|
||||
class2: {
|
||||
type: String,
|
||||
},
|
||||
styleadd: {
|
||||
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: [
|
||||
{
|
||||
imagefile: {
|
||||
|
||||
@@ -3759,7 +3759,7 @@ class Telegram {
|
||||
const rec = this.getRecInMem(msg);
|
||||
if (rec) {
|
||||
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.lang = lang;
|
||||
|
||||
Reference in New Issue
Block a user