Download the PHP package kraftbit/nova-tinymce5-editor without Composer

On this page you can find all versions of the php package kraftbit/nova-tinymce5-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-tinymce5-editor

Laravel Nova TinyMCE 5 Editor field

Nova TinyMCE 5 Editor is Laravel Nova field that integrates TinyMCE5 WYSIWYG editor.

Installation

Use the composer to install this package.

Usage

Publish config with the following command:

Now you have nova-tinymce5-editor.php file in your config folder. Edit TinyMCE options and toolbar here.

Add your TinyMCE cloud API key here or to your .env file like this:

After that you are good to go! Add NovaTinymce5Editor class and field to your Nova Resource.

Available options

You can pass arguments and TinyMCE options directly from a field to customize your toolbar and plugins, like this:

For available options/plugins visit official TinyMCE 5 documentation.

Integration with Media Library

Nova TinyMCE 5 Editor field works well with Nova Media Library. If you would like to insert images from Media Library directly to editor content, you need to install Nova Media Library field first and add a Media Library JS callback field. To make it work, you need to add custom id for TinyMCE field ->id('body'), and meta argument ->withMeta(['mediaLibrary' => true]) and then pass the same editor id to your Media Library callback field. In the example below we use 'body' for *id because that is the column name in our database:

Screenshots

TinyMCE editor without inserted image Nova TinyMCE 5 Editor

TinyMCE editor with inserted image Nova TinyMCE 5 Editor

Image file options Nova TinyMCE 5 Editor

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT


All versions of nova-tinymce5-editor with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kraftbit/nova-tinymce5-editor contains the following files

Loading the files please wait ....