Skip to content

Commit

Permalink
Update private/js/tiptap_plugins/cms.toolbar.js
Browse files Browse the repository at this point in the history
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
fsbraun and sourcery-ai[bot] authored Dec 26, 2024
1 parent 99684b7 commit 2b5f44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/js/tiptap_plugins/cms.toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ function _createToolbarButton(editor, itemName, filter) {
</form>`;
}
return `<button data-action="${repr.dataaction}" ${cmsplugin}${title}${position}class="${classes}" role="button">
${repr.icon ? repr.icon : repr.title}${form}
${repr.icon || repr.title}${form}
</button>`;
}
return '';
Expand Down

0 comments on commit 2b5f44e

Please sign in to comment.