Инструменты пользователя

Инструменты сайта


software:development:web:docs:web:wysiwyg:nicedit

Это старая версия документа!


NicEdit

NicEdit — это облегченный, кроссплатформенный редактор встроенного контента, позволяющий легко редактировать содержимое веб-сайта в режиме реального времени прямо в браузере.
NicEdit Javascript интегрируется в любой сайт за считанные секунды, позволяя сделать любой элемент/div редактируемым или преобразовать стандартные текстовые поля в редактор форматированного текста.

Документация

This is the offical manual for the NicEdit WYSIWYG Editor. NicEdit is a Lightweight, Cross Platform, Inline Content Editor to allow easy editing of web site content on the fly in the browser. To download it go to http://nicedit.com/

About NicEdit

NicEdit — это лёгкий, кроссплатформенный редактор встроенного контента, позволяющий легко редактировать содержимое веб-сайта на лету прямо в браузере. Этот небольшой и простой в использовании JavaScript-редактор интегрируется в любой сайт за считанные секунды, делая любой элемент/div редактируемым или преобразуя стандартные текстовые поля в форматированный текст.

NicEdit был разработан Брайаном Кирхоффом и может свободно использоваться в любых целях под лицензией MIT.

Функции:

  • Небольшой размер файла (<35 КБ в сумме), <10 КБ в сжатом виде!
  • Для работы требуется всего 2 файла (js + иконки).
  • Гибкая конфигурация: замена текстовых полей или блоков div.
  • При желании несколько редакторов могут использовать один элемент управления.
  • Сохранение контента с помощью AJAX или HTTP POST
  • IE 5.5+ / FF 2+ / Opera 9+ / Safari 3+

NicEdit Reference

Javascript API

Class nicEditors

The nicEditors class provides convience methods to add NicEditor to the page or get a reference to a editor by ID

nicEditors.allTextAreasConverts all the textareas on the page info NicEditor instances. Returns a reference to the array of all NicEdit instances on the page.
nicEditors.findEditorFinds a specific editor by ID if created using allTextAreas explitly For example to get the nicedit instance for <textarea id=«myArea2»></textarea> use: nicEditors.findEditor('myArea2'); The method returns a nicedit instance that you call the functions below on. Warning: In order to use this and other API methods, the editor must be finshed loading. To see an example of how you can use addEvent to have your code run after editor load see Editor Events
nicEditors.editors[]The raw array of all the NicEdit instances on the page

Class nicInstance

The nicEditor instance class creates the editable area for a single element and provides a number of useful methods to developers. You can get a reference to a specific nicInstance object using nicEditors.findEditor

Configuration Options

Plugin Reference

Saving via AJAX

XHTML Compliant Output

Customization

Developing with NicEdit

Creating a Plugin

Integration with NicEdit events

How to translate nicEdit (with Spanish example)

Дополнения и Файлы

Только авторизованные участники могут оставлять комментарии.
software/development/web/docs/web/wysiwyg/nicedit.1767785172.txt.gz · Последнее изменение: 127.0.0.1

Если не указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki