Skip to content

Commit

Permalink
TAR-1964: Update OXD tinymce component to emit internal editor instan…
Browse files Browse the repository at this point in the history
…ce when ready (#794)

* emit editor instance

* Update changelog.md
  • Loading branch information
imesh-orangehrm authored Nov 13, 2024
1 parent 86d8e1b commit 2954cba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2024-11-13 - 52366879d1e5cf23bc23ebd47a2b65c4fbf7b903 - TinyMce/TinyMce.vue - emit editor instance

2024-11-13 - 4bbea12b487254178cac9ca96687bec06379aa7c - PopOver.vue, Dialog.vue, PopOver.stories.js, pop-over.spec.ts - Modified PopOver component to be able to configure as persistent or not, Modified Dialog component to not to be able to close when ESC pressed while persistent is set to true

2024-11-11 - 30e71393cff4e116c842c56bf35ef84bd659448d - components/Icon/icons.ts - Add oxd-on-leave,oxd-holiday,oxd-disabled-url,oxd-generate-link,oxd-enable-url icons
Expand Down
2 changes: 1 addition & 1 deletion components/src/core/components/TinyMce/TinyMce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default defineComponent({
editor.allowed_file_types = () => {
return props.allowedFileTypes;
};
emit('tinymce:editor-ready', editor);
setTinymceImage.value = (file: File) => {
const reader = new FileReader();
reader.readAsDataURL(file);
Expand Down

0 comments on commit 2954cba

Please sign in to comment.