nova-tinymce icon indicating copy to clipboard operation
nova-tinymce copied to clipboard

Translatable field

Open austyuzhaninov opened this issue 3 years ago • 4 comments

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

austyuzhaninov avatar Apr 22 '21 14:04 austyuzhaninov

Need support with optimistdigital/nova-translatable image

keizah7 avatar Jun 02 '21 11:06 keizah7

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.

austyuzhaninov avatar Jul 05 '21 10:07 austyuzhaninov

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

Pondake avatar Sep 21 '22 18:09 Pondake

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

wajdijurry avatar Oct 07 '23 00:10 wajdijurry