mirror of
https://github.com/codex-team/editor.js
synced 2026-03-18 00:19:53 +01:00
Fixed merge mistake
This commit is contained in:
parent
6f8bfb951d
commit
1103e60fd2
1 changed files with 1 additions and 9 deletions
|
|
@ -68,15 +68,7 @@ export async function getConvertibleToolsForBlock(block: BlockAPI, allBlockTools
|
|||
if (!isToolConvertable(tool, 'import')) {
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checking that the block is not empty after conversion
|
||||
*/
|
||||
const importData = convertExportToBlockData(exportData, tool.conversionConfig);
|
||||
if (isUndefined(importData) || isEmpty(importData)) {
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Skip tools that does not specify toolbox
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue