mostafaznv / nova-ckeditor

CkEditor 5 Field for Laravel Nova with Media & Snippet Browsers
https://mostafaznv.gitbook.io/nova-ckeditor/
MIT License
49 stars 20 forks source link

compatibility with lupennat/nova-nested-many #90

Closed Lupennat closed 9 months ago

Lupennat commented 9 months ago

There is a compatibility problem with the lupennat/nova-nested-many package. The nova-nested-many package allows creating/editing has-many resources from the parent resource. Using this package, the page contains N fields with the same attribute for each nested resource. Nova-ckeditor creates within the $options object the reference to the ckeditor via a key consisting only of field.attribute. To solve the problem, the key should consist of the formUniqueId + field.attribute.

mostafaznv commented 9 months ago

Hi @Lupennat, Thank you for the report and the PR. It has been merged, and you can use it with v5.4.3