Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавить параметры настроек при инициализации + Настройка tools #2

Closed
neSpecc opened this issue Nov 28, 2015 · 0 comments · Fixed by #4
Assignees

Comments

@neSpecc
Copy link
Member

neSpecc commented Nov 28, 2015

Сейчас конструктор принимает ID textarea, которую мы заменяем редактором. Это можно выпилить и задать ID статично. То есть для инициализации редатора надо будет добавить определенный ID к textarea и вызвать конструктор.

Надо, чтобы вместо ID конструктор принимал объект settings с пользовательскими настройками. Например, tools, которая будет задавать массив кнопочек тулбара.

window.cEditor = new ce({
     tools : ["header", "picture", "list"]
});

Потом добавятся еще настройки.

@eliseealex eliseealex added this to the 1.0.0 milestone Dec 13, 2015
dermanov-ru added a commit that referenced this issue Dec 14, 2015
editor settings, new paragrath and new line, one instance add buttons (#1, #2 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants