sadsa
This commit is contained in:
@@ -387,15 +387,6 @@ const buildPlaceholderHTML = (payload) => {
|
||||
container.appendChild(form);
|
||||
|
||||
let tablesCache = placeholderSchemaStore.tables || [];
|
||||
if (tablesCache.length) {
|
||||
populateTables(tablesCache);
|
||||
} else if (placeholderSchemaStore.promise) {
|
||||
placeholderSchemaStore.promise.then(populateTables).catch(() => populateTables([]));
|
||||
} else if (placeholderSchemaStore.status !== false) {
|
||||
fetchPlaceholderSchema()
|
||||
.then(populateTables)
|
||||
.catch(() => populateTables([]));
|
||||
}
|
||||
|
||||
const toggleSections = () => {
|
||||
const type = typeSelect.value || 'custom';
|
||||
@@ -587,7 +578,7 @@ const buildPlaceholderHTML = (payload) => {
|
||||
|
||||
rte.__bridgePlaceholderButton = true;
|
||||
rte.add('bridge-placeholder', {
|
||||
icon: '<i class="fa fa-bookmark"></i>',
|
||||
icon: '<span style="font-weight:bold;font-family:monospace;">{}</span>',
|
||||
attributes: { title: 'Placeholder einfügen' },
|
||||
result: (rteInstance) => {
|
||||
const target = editor && editor.getSelected && editor.getSelected();
|
||||
|
||||
Reference in New Issue
Block a user