Closed percymamedy closed 1 year ago
This should've been fixed by 510fea4ce8e959de29cc890ce661a5ebbbabd056. Are you using the most up-to-date views (or haven't published them)?
I am using the latest version of the package which 3.1.0
Apologies for the slow reply.
Your exported views are likely outdated. You may want to compare them against the current versions in this repository.
If you haven't changed the views (or if you're comfortable using Git to check your changes), you may run the following command to overwrite your views with the package's default one:
Warning This will overwrite any changes made to the views, so use with caution.
php artisan vendor:publish --provider="Advoor\NovaEditorJs\FieldServiceProvider" --tag=views --force
I hope this resolves this issue.
When using
\Advoor\NovaEditorJs\NovaEditorJs::generateHtmlOutput
it automatically encodes html entities in the returnedHtmlString
object returned:Then when using blade to output this string it shows as html tags which is not what we want:
I had to use this work around to make it work:
This does not work also: