Skip to content

Commit

Permalink
New version 3.19.5. Read more https://github.com/xdan/jodit/blob/mast…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Aug 21, 2022
1 parent 47a5f55 commit 9441c7f
Show file tree
Hide file tree
Showing 27 changed files with 807 additions and 304 deletions.
4 changes: 2 additions & 2 deletions build/jodit.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion build/jodit.es2018.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion build/jodit.es2018.en.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
Expand Down
246 changes: 162 additions & 84 deletions build/jodit.es2018.en.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/jodit.es2018.en.min.js

Large diffs are not rendered by default.

246 changes: 162 additions & 84 deletions build/jodit.es2018.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/jodit.es2018.min.js

Large diffs are not rendered by default.

246 changes: 162 additions & 84 deletions build/jodit.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/jodit.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/jodit.min.js

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions build/plugins/debug/debug.es2018.en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/

"use strict";
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(self, function() {
return (self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[101],{

/***/ 79816:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {


/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Debug = void 0;
var tslib_1 = __webpack_require__(20255);
var plugin_1 = __webpack_require__(35570);
var global_1 = __webpack_require__(58299);
var dom_1 = __webpack_require__(43887);
var helpers_1 = __webpack_require__(92654);
var constants_1 = __webpack_require__(10063);
var Debug = (function (_super) {
tslib_1.__extends(Debug, _super);
function Debug() {
return _super !== null && _super.apply(this, arguments) || this;
}
Debug.prototype.afterInit = function (jodit) {
var mirror = jodit.create.div();
var tree = jodit.create.div();
var sel = jodit.create.div();
mirror.appendChild(tree);
mirror.appendChild(sel);
jodit.workplace.appendChild(mirror);
Object.assign(mirror.style, {
padding: '16px',
backgroundColor: '#fcfcfc'
});
Object.assign(sel.style, {
paddingTop: '16px'
});
jodit.e
.on('keydown keyup keypress change afterInit updateDebug', function () {
tree.innerHTML = render(jodit.editor);
})
.on(jodit.od, 'selectionchange', function () {
var range = jodit.selection.range;
tree.innerHTML = render(jodit.editor);
sel.innerHTML = "start ".concat(range.startContainer.nodeName, " ").concat(range.startOffset, "<br>end ").concat(range.endContainer.nodeName, " ").concat(range.endOffset);
});
};
Debug.prototype.beforeDestruct = function (jodit) { };
return Debug;
}(plugin_1.Plugin));
exports.Debug = Debug;
function renderText(elm) {
if (!elm.nodeValue) {
return "<span style='color:red'>empty</span>";
}
return (0, helpers_1.stripTags)(elm.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), 'INV'));
}
function render(elm, level) {
if (level === void 0) { level = 0; }
return "<div style='padding-left: ".concat(level * 5, "px'>\n\t\t").concat(elm.nodeName, " ").concat(dom_1.Dom.isText(elm) ? "- ".concat(renderText(elm)) : '', "\n\t").concat(Array.from(elm.childNodes)
.map(function (ch) { return render(ch, level + 1); })
.join(''), "\n</div>");
}
global_1.pluginSystem.add('debug', Debug);


/***/ })

},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
/******/ var __webpack_exports__ = (__webpack_exec__(79816));
/******/ return __webpack_exports__;
/******/ }
]);
});
1 change: 1 addition & 0 deletions build/plugins/debug/debug.es2018.en.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 96 additions & 0 deletions build/plugins/debug/debug.es2018.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/

"use strict";
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(self, function() {
return (self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[101],{

/***/ 79816:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {


/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Debug = void 0;
var tslib_1 = __webpack_require__(20255);
var plugin_1 = __webpack_require__(35570);
var global_1 = __webpack_require__(58299);
var dom_1 = __webpack_require__(43887);
var helpers_1 = __webpack_require__(92654);
var constants_1 = __webpack_require__(10063);
var Debug = (function (_super) {
tslib_1.__extends(Debug, _super);
function Debug() {
return _super !== null && _super.apply(this, arguments) || this;
}
Debug.prototype.afterInit = function (jodit) {
var mirror = jodit.create.div();
var tree = jodit.create.div();
var sel = jodit.create.div();
mirror.appendChild(tree);
mirror.appendChild(sel);
jodit.workplace.appendChild(mirror);
Object.assign(mirror.style, {
padding: '16px',
backgroundColor: '#fcfcfc'
});
Object.assign(sel.style, {
paddingTop: '16px'
});
jodit.e
.on('keydown keyup keypress change afterInit updateDebug', function () {
tree.innerHTML = render(jodit.editor);
})
.on(jodit.od, 'selectionchange', function () {
var range = jodit.selection.range;
tree.innerHTML = render(jodit.editor);
sel.innerHTML = "start ".concat(range.startContainer.nodeName, " ").concat(range.startOffset, "<br>end ").concat(range.endContainer.nodeName, " ").concat(range.endOffset);
});
};
Debug.prototype.beforeDestruct = function (jodit) { };
return Debug;
}(plugin_1.Plugin));
exports.Debug = Debug;
function renderText(elm) {
if (!elm.nodeValue) {
return "<span style='color:red'>empty</span>";
}
return (0, helpers_1.stripTags)(elm.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), 'INV'));
}
function render(elm, level) {
if (level === void 0) { level = 0; }
return "<div style='padding-left: ".concat(level * 5, "px'>\n\t\t").concat(elm.nodeName, " ").concat(dom_1.Dom.isText(elm) ? "- ".concat(renderText(elm)) : '', "\n\t").concat(Array.from(elm.childNodes)
.map(function (ch) { return render(ch, level + 1); })
.join(''), "\n</div>");
}
global_1.pluginSystem.add('debug', Debug);


/***/ })

},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
/******/ var __webpack_exports__ = (__webpack_exec__(79816));
/******/ return __webpack_exports__;
/******/ }
]);
});
1 change: 1 addition & 0 deletions build/plugins/debug/debug.es2018.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 96 additions & 0 deletions build/plugins/debug/debug.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/

"use strict";
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(self, function() {
return (self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[101],{

/***/ 79816:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {


/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Debug = void 0;
var tslib_1 = __webpack_require__(20255);
var plugin_1 = __webpack_require__(35570);
var global_1 = __webpack_require__(58299);
var dom_1 = __webpack_require__(43887);
var helpers_1 = __webpack_require__(92654);
var constants_1 = __webpack_require__(10063);
var Debug = (function (_super) {
tslib_1.__extends(Debug, _super);
function Debug() {
return _super !== null && _super.apply(this, arguments) || this;
}
Debug.prototype.afterInit = function (jodit) {
var mirror = jodit.create.div();
var tree = jodit.create.div();
var sel = jodit.create.div();
mirror.appendChild(tree);
mirror.appendChild(sel);
jodit.workplace.appendChild(mirror);
Object.assign(mirror.style, {
padding: '16px',
backgroundColor: '#fcfcfc'
});
Object.assign(sel.style, {
paddingTop: '16px'
});
jodit.e
.on('keydown keyup keypress change afterInit updateDebug', function () {
tree.innerHTML = render(jodit.editor);
})
.on(jodit.od, 'selectionchange', function () {
var range = jodit.selection.range;
tree.innerHTML = render(jodit.editor);
sel.innerHTML = "start ".concat(range.startContainer.nodeName, " ").concat(range.startOffset, "<br>end ").concat(range.endContainer.nodeName, " ").concat(range.endOffset);
});
};
Debug.prototype.beforeDestruct = function (jodit) { };
return Debug;
}(plugin_1.Plugin));
exports.Debug = Debug;
function renderText(elm) {
if (!elm.nodeValue) {
return "<span style='color:red'>empty</span>";
}
return (0, helpers_1.stripTags)(elm.nodeValue.replace((0, constants_1.INVISIBLE_SPACE_REG_EXP)(), 'INV'));
}
function render(elm, level) {
if (level === void 0) { level = 0; }
return "<div style='padding-left: ".concat(level * 5, "px'>\n\t\t").concat(elm.nodeName, " ").concat(dom_1.Dom.isText(elm) ? "- ".concat(renderText(elm)) : '', "\n\t").concat(Array.from(elm.childNodes)
.map(function (ch) { return render(ch, level + 1); })
.join(''), "\n</div>");
}
global_1.pluginSystem.add('debug', Debug);


/***/ })

},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
/******/ var __webpack_exports__ = (__webpack_exec__(79816));
/******/ return __webpack_exports__;
/******/ }
]);
});
1 change: 1 addition & 0 deletions build/plugins/debug/debug.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/plugins/speech-recognize/speech-recognize.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion build/plugins/speech-recognize/speech-recognize.es2018.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion build/plugins/speech-recognize/speech-recognize.es2018.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
* Author: Chupurnov <[email protected]> (https://xdsoft.net/)
* Version: v3.19.4
* Version: v3.19.5
* Url: https://xdsoft.net/jodit/
* License(s): MIT
*/
Expand Down
Loading

0 comments on commit 9441c7f

Please sign in to comment.