emilianotisato / nova-tinymce

Laravel Nova TinyMCE editor (with images upload capabilities!)
MIT License
116 stars 38 forks source link

Translatable field #62

Open austyuzhaninov opened 3 years ago

austyuzhaninov commented 3 years ago

Hello there! Any idea how get translatable field use nova-tinymce? 55551

I found that https://github.com/barnacode/nova-translatable its perfect solution for me, but than package not supporte and have conflicts when composer install from git source.

spatie/nova-translatable not intresting, because i need one field with choice language

Thanks in advance

keizah7 commented 3 years ago

Need support with optimistdigital/nova-translatable image

austyuzhaninov commented 3 years ago

Need support with optimistdigital/nova-translatable image

In my project i use mrmonat/nova-translatable. But it also not supported for nova-tinymce. Spatie/nova-translatable is working, but not friendly for user.

Pondake commented 1 year ago

Would still love to see support for "outl1ne/nova-translatable" (formerly known "optimistdigital") 👍

wajdijurry commented 9 months ago

outl1ne/nova-translatable package assigns the ID at render time, this package won't work directly since the Vue component wouldn't know about the modified ID during its initial creation.

However, there is a work around this using Vue's reactivity and lifecycle hooks. The idea is to watch for changes in the DOM (specifically for the textarea element) and then initialize TinyMCE once those changes occur.

For anyone still looking for a solution, have a look at my fork: https://github.com/ecommerce-laravel/nova-tinymce