Skip to content

Commit

Permalink
pkp/pkp-lib#9366 Safeguard setting toolbar props for tinymce
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Jan 6, 2025
1 parent 1c9c627 commit 8708d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Form/fields/FieldPreparedContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default {
parent = parent.extends ? parent.extends : null;
}
if (self.preparedContent.length) {
if (self.preparedContent.length && typeof props.toolbar === 'string') {
props.toolbar += '| pkpInsert';
}
Expand Down

0 comments on commit 8708d2e

Please sign in to comment.