2017 © Pedro Peláez
 

library nckeditor

Implementation of CKEditor WYSIWYG editor as a Nette Framework component

image

snake-aas/nckeditor

Implementation of CKEditor WYSIWYG editor as a Nette Framework component

  • Wednesday, May 28, 2014
  • by snake-aas
  • Repository
  • 2 Watchers
  • 1 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

NCKEditor

Implementation of CKEditor WYSIWYG editor as a Nette Framework component, (*1)

Installation

Best way to install is using Composer:, (*2)

$ composer require snakeaas/nckeditor

Usage

Component itself behave like a default \Nette\Application\UI\Form form, but provides some aditional methods., (*3)

Most important is method addRichText for adding CKEditor., (*4)

Example:, (*5)


protected function createComponentEditor() { $editor = new \snakeaas\NCKEditor\NCKEditor(__DIR__ . '/../../www'); $editor->addText('title', 'Nadpis'); $editor->addRichText('editor', 'Text'); $editor->addSubmit('save', 'Save'); $editor->onSuccess[] = function (\Nette\Application\UI\Form $form) { // ... process values }; return $editor; }

The Versions

28/05 2014

dev-master

9999999-dev

Implementation of CKEditor WYSIWYG editor as a Nette Framework component

  Sources   Download

MIT

The Requires