139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
let xNodeDiv = document.createElement("div");
xNodeDiv.className = "paragraph_block";
// actions
let xDivActions = document.createElement("div");
xDivActions.className = "actions";
let xDivClose = document.createElement("div");
xDivClose.id = "end" + iParagraph.toString();
xDivClose.className = "button red";
xDivClose.textContent = "×";
/*let xDivEdit = document.createElement("div");
xDivEdit.id = "edit" + iParagraph.toString();
xDivEdit.className = "button";
xDivEdit.textContent = "Éditer";*/
let xDivCheck = document.createElement("div");
xDivCheck.id = "check" + iParagraph.toString();
xDivCheck.className = "button green";
xDivCheck.textContent = "Réanalyser";
xDivActions.appendChild(xDivClose);
//xDivActions.appendChild(xDivEdit);
xDivActions.appendChild(xDivCheck);
xNodeDiv.appendChild(xDivActions);
// paragraph
let xParagraph = document.createElement("p");
xParagraph.id = "paragr" + iParagraph.toString();
xParagraph.lang = "fr";
xParagraph.setAttribute("spellcheck", false);
|
|
>
|
>
|
<
|
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
let xNodeDiv = document.createElement("div");
xNodeDiv.className = "paragraph_block";
// actions
let xDivActions = document.createElement("div");
xDivActions.className = "actions";
let xDivClose = document.createElement("div");
xDivClose.id = "end" + iParagraph.toString();
xDivClose.className = "button red bold";
xDivClose.textContent = "×";
xDivActions.appendChild(xDivClose);
/*let xDivEdit = document.createElement("div");
xDivEdit.id = "edit" + iParagraph.toString();
xDivEdit.className = "button";
xDivEdit.textContent = "Éditer";
xDivActions.appendChild(xDivEdit);*/
let xDivCheck = document.createElement("div");
xDivCheck.id = "check" + iParagraph.toString();
xDivCheck.className = "button green";
xDivCheck.textContent = "Réanalyser";
xDivCheck.setAttribute("title", "Réanalyser le texte");
xDivActions.appendChild(xDivCheck);
xNodeDiv.appendChild(xDivActions);
// paragraph
let xParagraph = document.createElement("p");
xParagraph.id = "paragr" + iParagraph.toString();
xParagraph.lang = "fr";
xParagraph.setAttribute("spellcheck", false);
|