asdasd
This commit is contained in:
@@ -1041,7 +1041,8 @@ const refreshPlaceholderComponent = (component) => {
|
||||
fetchPlaceholderSchema().catch(() => {});
|
||||
}
|
||||
|
||||
if (!editor.Commands.get('bridge-placeholder:edit')) {
|
||||
const existingCmd = editor.Commands.get('bridge-placeholder:edit');
|
||||
if (!existingCmd || existingCmd.__bridgePlaceholderStub) {
|
||||
editor.Commands.add('bridge-placeholder:edit', {
|
||||
run(ed, sender, opts = {}) {
|
||||
const component = opts.component || ed.getSelected();
|
||||
|
||||
Reference in New Issue
Block a user