Вопрос

I'm thinking of switching from NicEdit to TinyMCE, because the latter has ongoing support and development and appears to have more customizable options.

I was trying it out TinyMCE here: http://fiddle.tinymce.com/haaaab

Is it possible to have divs being dynamically created which are assigned to one TinyMCE toolbar that can be used for all of them? I've been looking through the documentation but it isn't clear. The effect I'm looking for is this one: http://nicedit.com/demos.php?demo=4

As you can see, different inline elements can be controlled by one NicEdit toolbar. I've already got a nice page going where divs are dynamically added and deleted and smoothly assigned to NicEdit when they are created. Can TinyMCE support this as well?

Это было полезно?

Решение

yes you can do that by using ur own custom format.

check out this fiddle

http://fiddle.tinymce.com/Cbcaab

EDIT Updated FIDDLE

http://fiddle.tinymce.com/Cbcaab/1

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top