Download the PHP package emilianotisato/nova-tinymce without Composer

On this page you can find all versions of the php package emilianotisato/nova-tinymce. 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-tinymce

Laravel Nova TinyMCE editor (with images upload capabilities!)

This Nova package allow you to use TinyMCE editor for text areas. You can customize the editor options and... you can upload images to your server and put them right there on the content without leaving the text editor!! Editor

Installation

(backward compatibility) Nova Package
V 1, 2, 3 V 1
V 4 V 2

Run the command bellow, to publish TinyMCE JavaScript and CSS assets.

Usage

In your Nova resource add the use declaration and use the NovaTinyMCE field:

By default, the editor comes with some basic options and the image management without the filemanager (inserted just as links).

You can use custome options like this:

Using the upload images feature with LFM

Now if you need to upload images from the text editor, we need to install UniSharp Laravel Filemanager, and pass the use_lfm => true option to your options array:

ONLY if you use laravel-filemanager v1

If you use LFM v1 , the last step is to run this command to fix some Filemanager files:

Finally you will need to update the lfm_url key to match the old url version like this lfm_url' => 'laravel-filemanager.

IMPORTANT: if you are in laravel 6 using laravel-filemanager v1, you will need to import the helper lib coz legacy Filemanager need them: composer require laravel/helpers.

Optional Configuration

Laravel Filemanager URL

Optional, in case you change the laravel-filemanager URL in the package config file (config/lmf.php), you need to pass that info to this nova field with the lfm_url key in the options array.

Override config file

In case you have in mind a default options array to load any time you instantiate the NovaTinyMCE field, you can optionally publish the config file and override the default_options array:

This is the contents of the published config file:

Plugin customization

You can virtually pass any configuration option for the javascript SDK to the array in the options() method.

For example, you like to have increased the height of the text area:

You can see the full list of parameters in the docs: https://www.tiny.cloud/docs/configure/

Using JSON syntax on attribute property

If you use JSON syntax on attribute name, TinyMCE won't initialize because the default id will be an invalid HTML id attribute. To solve this you can define a custom id. For example:


All versions of nova-tinymce with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.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 emilianotisato/nova-tinymce contains the following files

Loading the files please wait ....