Модуль Bueditoricon (продолжение Imageset)

Подключение набора иконок (imageset) для любимого редактора Bueditor
1) Подключаем модуль bueditoricon (зависит от imageset и bueditor)
2) Добавляем необходимый imageset (mysite/admin/settings/imageset)
  • Name: bue_icons; Size: 18x18; Orientation: Horizontal
3) Добавляем необходимые стили для 3х состояний (mysite/admin/settings/imageset/selectors), для одного состояния - одну строку
  • CSS selector: <пусто> Outer name: Bueditor icon; Weight: 0; Imageset: bue_icons; Variant: 1
  • CSS selector: <is>:hover; Outer name: Bueditor icon; Weight: 1; Imageset: bue_icons; Variant: 2
  • CSS selector: <is>:active; Outer name: Bueditor icon; Weight: 2; Imageset: bue_icons; Variant: 3
4) В настройках редактора Bueditor (mysite/admin/settings/bueditor/*) В колонке icon выбираем Caption(Подпись) и в содержимом вводим последовательность name:index;
где name - имя Imagest'а (в нашем случае bue_icons), index - номер картинки (начиная с 1).

Получится чтото похожее на это:
(причем в данном случае для IE6 эффекты :hover и :active не поддерживаются)
AttachmentSize
Набор для Bueditor1.46 KB
Набор для Bueditor с тремя состояниями3.33 KB
Набор для Bueditor из иконок OpenOffice.org10.89 KB

bnvbnvbnbnvbnvbnvbn


bnvbnvbnbnvbnvbnvbn

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You can embed tabledetail tables within your nodes using the following syntax:
    [td:table_id,pagination,admin_links,style]
  • Lines and paragraphs break automatically.
  • You may use [inline:xx] tags to display uploaded files or images inline.

More information about formatting options