Skip to content

Commit

Permalink
pkp/pkp-lib#9366 Add language_url param to tinymce
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Jan 23, 2025
1 parent d5ecd03 commit 7f70c83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Form/fields/FieldRichTextarea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ export default {
statusbar: false,
entity_encoding: 'raw',
browser_spellcheck: true,
language:
$.pkp?.plugins?.generic?.tinymceplugin?.tinymceParams?.language,
language_url:
$.pkp?.plugins?.generic?.tinymceplugin?.tinymceParams?.language_url,
// See: https://www.tiny.cloud/docs/general-configuration-guide/upload-images/#rollingyourimagehandler
images_upload_handler(blobInfo, success, failure) {
const data = new FormData();
Expand Down

0 comments on commit 7f70c83

Please sign in to comment.