├── resources ├── views │ ├── raw.blade.php │ ├── content.blade.php │ ├── code.blade.php │ ├── delimiter.blade.php │ ├── paragraph.blade.php │ ├── heading.blade.php │ ├── image.blade.php │ ├── list.blade.php │ ├── checklist.blade.php │ ├── table.blade.php │ ├── embed.blade.php │ └── link.blade.php ├── js │ ├── blocks │ │ ├── paragraph.js │ │ ├── delimiter.js │ │ ├── marker.js │ │ ├── table.js │ │ ├── inline-code.js │ │ ├── link.js │ │ ├── raw.js │ │ ├── list.js │ │ ├── checklist.js │ │ ├── code.js │ │ ├── heading.js │ │ ├── image.js │ │ └── embed.js │ ├── components │ │ ├── IndexField.vue │ │ ├── DetailField.vue │ │ └── FormField.vue │ ├── field.js │ ├── index.js │ └── nova-editor.js └── css │ └── field.css ├── tests ├── resources │ └── responses │ │ ├── image.txt │ │ ├── image.gif │ │ ├── image.jpg │ │ ├── image.png │ │ ├── image.webp │ │ ├── simple.html │ │ ├── image.svg │ │ └── with-image.html ├── Fixtures │ ├── nova │ │ ├── src │ │ │ ├── Events │ │ │ │ └── ServingNova.php │ │ │ ├── UselessServiceProvider.php │ │ │ ├── StaticallyUselessClass.php │ │ │ └── aliases.php │ │ └── composer.json │ ├── TestServiceProvider.php │ ├── resources │ │ ├── html │ │ │ └── editorjs.html │ │ └── json │ │ │ └── editorjs.json │ ├── Models │ │ └── Dummy.php │ └── database │ │ └── migrations │ │ └── 2022_07_17_153928_create_dummies_table.php ├── Feature │ ├── Views │ │ ├── ViewTestHelpers.php │ │ └── LinkViewTest.php │ └── Http │ │ └── Controllers │ │ ├── EditorJsLinkControllerTest.php │ │ └── EditorJsImageUploadControllerTest.php ├── helpers.php ├── TestCase.php └── Unit │ ├── JsonContentTest.php │ └── NovaEditorJsCastTest.php ├── .gitattributes ├── dist ├── mix-manifest.json ├── js │ ├── field.js.LICENSE.txt │ └── index.js.LICENSE.txt └── css │ └── field.css ├── .gitignore ├── .editorconfig ├── src ├── Events │ ├── EditorJsImageUploaded.php │ └── EditorJsThumbnailCreated.php ├── NovaEditorJs.php ├── NovaEditorJsData.php ├── Http │ └── Controllers │ │ ├── EditorJsLinkController.php │ │ └── EditorJsImageUploadController.php ├── FieldServiceProvider.php ├── NovaEditorJsCast.php ├── NovaEditorJsField.php ├── NovaEditorJsConverter.php └── config │ └── nova-editor-js.php ├── webpack.mix.js ├── pint.json ├── routes └── api.php ├── .eslintrc.yml ├── phpunit.xml ├── nova.mix.js ├── package.json ├── UPGRADING.md ├── composer.json ├── .github └── workflows │ ├── auto-format-code.yml │ └── test-code.yml ├── EXTENDING.md ├── CHANGELOG.md └── README.md /resources/views/raw.blade.php: -------------------------------------------------------------------------------- 1 | {!! $html !!} 2 | -------------------------------------------------------------------------------- /tests/resources/responses/image.txt: -------------------------------------------------------------------------------- 1 | I am an image! 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | /dist/js/* -text merge=binary 2 | /dist/css/* -text merge=binary 3 | -------------------------------------------------------------------------------- /resources/views/content.blade.php: -------------------------------------------------------------------------------- 1 |
{{ $code }}
3 | 3 | {!! $text !!} 4 |
5 || 7 | {!! $content !!} 8 | | 9 | @endforeach 10 |
9 | Est nihil repellendus delectus rem. 10 |
11 |14 | Labore voluptatem non omnis aliquam dolore hic dolorum. 15 |
16 |