mirror of
https://github.com/codex-team/editor.js
synced 2024-06-16 12:45:29 +02:00
Link plugin prepare updated
This commit is contained in:
parent
edcd0d793c
commit
d3f704a800
|
@ -102,6 +102,7 @@
|
|||
link: {
|
||||
type: 'link',
|
||||
iconClassname: 'ce-icon-link',
|
||||
prepare: link.prepare,
|
||||
make: link.makeNewBlock,
|
||||
appendCallback: link.appendCallback,
|
||||
render: link.render,
|
||||
|
|
|
@ -243,7 +243,11 @@ var link = (function(link) {
|
|||
};
|
||||
|
||||
link.prepare = function (config) {
|
||||
|
||||
link.config = config;
|
||||
|
||||
return Promise.resolve();
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue