Skip to content

langziyang/sylius-tinymce-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sylius Tinymce plugin

Description

Use tinymce edit product description and short_description

version 1.0.0

this is first version

i am sylius plugin beginner, so make sure install on your dev environment test first

If you can point out any errors in my code or suggest a better way, please leave a comment.

Screenshots

image image

Installation

  1. Run composer require jinber/sylius-tinymce-plugin

  2. Enable the plugin in bundles.php

<?php
// config/bundles.php

return [
    // ...
    Jinber\SyliusTinymcePlugin\JinberSyliusTinymcePlugin::class => ['all' => true],
];
  1. Import the plugin configurations
# config/packages/_sylius.yaml
imports:
    # ...
    - { resource: '@JinberSyliusTinymcePlugin/config/config.yaml' }
  1. Add the shop and admin routes
# config/routes.yaml
sylius_jinber_tinymce_admin:
    resource: '@JinberSyliusTinymcePlugin/config/routes/admin_route.yaml'
    prefix: '/admin'
  1. installing assets
php bin/console assets:install
php bin/console cache:clear

Buy me coffee

paypal