mirror of
https://github.com/codex-team/editor.js
synced 2024-05-20 15:26:48 +02:00
parent
d1982a6093
commit
1279c5e9d2
4164
codex-editor.js
4164
codex-editor.js
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
|||
* Works with DOM
|
||||
*
|
||||
* @author Codex Team
|
||||
* @version 1.3.6
|
||||
* @version 1.3.8
|
||||
*/
|
||||
|
||||
var content = (function(content) {
|
||||
|
@ -158,6 +158,14 @@ var content = (function(content) {
|
|||
targetBlock = targetBlock.parentNode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check is this block was in feed
|
||||
* If true, than set switched block also covered
|
||||
*/
|
||||
if (targetBlock.classList.contains(codex.ui.className.BLOCK_IN_FEED_MODE)) {
|
||||
newBlock.classList.add(codex.ui.className.BLOCK_IN_FEED_MODE);
|
||||
}
|
||||
|
||||
/** Replacing */
|
||||
codex.nodes.redactor.replaceChild(newBlock, targetBlock);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "codex.editor",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.5",
|
||||
"description": "Codex Editor. Native JS, based on API and Open Source",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue