+HTML редактор

This commit is contained in:
2021-10-14 19:35:32 +06:00
parent 5ebcf5041d
commit 66cc2fbd03
301 changed files with 57 additions and 45975 deletions

View File

@ -548,7 +548,7 @@ class SRec
td1.colSpan='2';
let table=document.createElement('table');
table.border=0;
table.style.cssText="border:0px;";
table.setAttribute("width","100%");
table.cellspacing=0;
table.cellpadding=0;
@ -579,8 +579,7 @@ class SRec
if (columnNode.getAttribute("vt")==="dateTime")
{
let table=document.createElement('table');
table.border=0;
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;border:0px;";
let newRow=table.insertRow(0);
let newCell1 = newRow.insertCell(0);
newCell1.style.cssText="padding:0px;width:100%;";
@ -626,9 +625,8 @@ class SRec
if (columnNode.getAttribute("vt")==="date")
{
let table=document.createElement('table');
table.border=0;
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
newRow=table.insertRow(0);
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;border:0px;";
let newRow=table.insertRow(0);
let newCell1 = newRow.insertCell(0);
newCell1.style.cssText="padding:0px;width:100%;";
let newCell2 = newRow.insertCell(1);
@ -752,8 +750,7 @@ class SRec
}else {
let table=document.createElement('table');
table.border=0;
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;border:0px;";
let newRow=table.insertRow(0); //We add a row in the created table.
let newCell1 = newRow.insertCell(0);
newCell1.style.cssText="padding:0px;padding-right:1px;width:100%;";
@ -814,9 +811,7 @@ class SRec
let fc=columnNode.getAttribute("FieldCaption");
let table=document.createElement('table');
//table.setAttribute("bgColor","#0000FF")
table.border=0;
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;border:0px;";
let newRow=table.insertRow(0); //We add a row in the created table.
let newCell1 = newRow.insertCell(0);
newCell1.style.cssText="padding:0px; border: 0px solid #999999; /*width:100%;*/";