This commit is contained in:
Murod Khaydarov 2018-05-24 21:05:46 +03:00
commit b61fac8386
No known key found for this signature in database
GPG key ID: C480BA53A8D274C5
3 changed files with 3 additions and 3 deletions

View file

@ -1604,7 +1604,7 @@ var BlockManager = function (_Module) {
* @todo make object in accordance with Tool
*/
var data = {
text: wrapper.innerHTML
text: wrapper.textContent.trim() === '' ? '' : wrapper.innerHTML
};
if (this.currentBlock.isEmpty) {

File diff suppressed because one or more lines are too long

View file

@ -256,7 +256,7 @@ export default class BlockManager extends Module {
* @todo make object in accordance with Tool
*/
let data = {
text: wrapper.innerHTML,
text: wrapper.textContent.trim() === '' ? '' : wrapper.innerHTML,
};
if (this.currentBlock.isEmpty) {