1.0.4 • Published 4 years ago

@reckziegel/nw-tinymce-templates v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

nw-tinymce-templates

This package is not full yet!

This package was created for NovyWeb team. We use kohana core and tinymce editor inside our cms administration. This package contain universal templates for users and make easier implementation for us.

Implementation

FrontEnd

You need add link to header with global styles from src/css/global-styles.css

<link rel="stylesheet" type="text/css" href="<urlsite>node_modules/@reckziegel/nw-tinymce-templates/src/css/global-styles.css">

or

Model_Template_Layout::addCss(URL::site('node_modules/@reckziegel/nw-tinymce-templates/src/css/global-styles.css'));

TinyMCE editor inside CMS

You need add this styles to editor with global styles from src/css/global-styles-editor.css manually to kohana/templates//media/css/editor.css

Also you have to create config for tinymce editor and defined templates.

Settings

Settings for templates are inside file global-styles-default.scss.

To Do

  1. Define tinymce templates only for specific web views.
  2. Options of template inside tinymce editor.
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago