Download the PHP package teebbstudios/tuieditor-bundle without Composer
On this page you can find all versions of the php package teebbstudios/tuieditor-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teebbstudios/tuieditor-bundle
More information about teebbstudios/tuieditor-bundle
Files in teebbstudios/tuieditor-bundle
Package tuieditor-bundle
Short Description This bundle integration tui.editor for your Symfony project.
License MIT
Informations about the package tuieditor-bundle
TeebbTuiEditorBundle
中文文档在这里:中文文档
This bundle integration tui.editor for your symfony project. The code for this bundle was modified from FOSCKEditorBundle. Thanks FOSCKEditorBundle author:Eric Geleon and FriendsOfSymfony Community , your code is cool. Thanks MIT License.
Installation & Usage
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
Step 3: Download the Bundle resources
Download the latest tui.editor-bundles in your project.
This will download the tui.editor all resources to TeebbTuiEditorBundle src/Resources/public
folder. Then:
Step 4: Config the Bundle
You can add a config file in config/packages
folder.(Just a simple config, But you can use the following configuration completely):
You can config tui.editor language.
Step 5: Use the Bundle
Add the tui.editor dependencies in your page top. For example:
This will add the tui.editor dependencies JS and CSS libs like:
Second, use the TuiEditorType
in your form field:
Step 6: Render Markdown syntax content
If you were saved markdown syntax in the database. Then you can use the twig function tuieditor_viewer_widget
to render the markdown syntax content.
The first parameter id: div DOM id.
The second parameter content: twig variable, the markdown syntax content.
Tips: Don't forget render the dependencies in the page top!
Step 7: Done!
Yeah! Good Job! The tui.editor will use in your page. Now you can use your inspiration to create.
All versions of tuieditor-bundle with dependencies
ext-zip Version *
symfony/asset Version ^3.4 || ^4.0
symfony/config Version ^3.4 || ^4.0
symfony/dependency-injection Version ^3.4 || ^4.0
symfony/expression-language Version ^3.4 || ^4.0
symfony/form Version ^3.4 || ^4.0
symfony/framework-bundle Version ^3.4 || ^4.0
symfony/http-foundation Version ^3.4 || ^4.0
symfony/http-kernel Version ^3.4 || ^4.0
symfony/options-resolver Version ^3.4 || ^4.0
symfony/property-access Version ^3.4 || ^4.0
symfony/routing Version ^3.4 || ^4.0
symfony/twig-bundle Version ^3.4 || ^4.0
twig/twig Version ^2.0