bastihilger / nova-tiptap

Laravel Nova Tiptap Field
MIT License
172 stars 61 forks source link

class Manogi\Tiptap not found #2

Closed doriandigital closed 6 years ago

doriandigital commented 6 years ago

When following the documentation and adding Tiptap::make('something'), I am presented with the following exception "class Manogi\Tiptap not found"

I declared the following dependency in the class:

use Manogi\Tiptap;

I also tried "use TipTap" and "Laravel\Nova\Fields\TipTap".

Any idea what could be the issue?

bastihilger commented 6 years ago

The correct use statement is use Manogi\Tiptap\Tiptap; Which editor do you use? Editors like Sublime Text, VS Code, PHPStorm should be able to help you with using the right "use" statements (some of them need plugins for that).

bastihilger commented 6 years ago

But thanks for mentioning this, I will add it to the Documentation and Readme.