<?php
// Create our new text area
areaContainer = document.createElement("div");
areaContainer.style.clear = "both";
this.createToolbar('mytoolbar', {
container: 'bottom',
items: [
{type: 'button', name: 'youtube', sprite: 'youtube', insert: 'youtube', title: this.options.lang.title_youtube}
{type: 'button', name: 'spoiler', sprite: 'spoiler', insert: 'spoiler', title: this.options.lang.title_spoiler}
]
});
<?php
{type: 'button', name: 'youtube', sprite: 'youtube', insert: 'youtube', title: this.options.lang.title_youtube},{type: 'button', name: 'spoiler', sprite: 'spoiler', insert: 'spoiler', title: this.options.lang.title_spoiler}
<?php
// Create our new text area
areaContainer = document.createElement("div");
areaContainer.style.clear = "both";
this.createToolbar('mytoolbar', {
container: 'bottom',
items: [
{type: 'button', name: 'youtube', sprite: 'youtube', insert: 'youtube', title: this.options.lang.title_youtube},
{type: 'button', name: 'spoiler', sprite: 'spoiler', insert: 'spoiler', title: this.options.lang.title_spoiler}
]
});
<?php
this.createToolbar('topformatting', {
container: 'top',
items: [
{type: 'dropdown', name: 'font', insert: 'font', title: this.options.lang.font, options: this.fonts},
{type: 'dropdown', name: 'size', insert: 'size', title: this.options.lang.size, options: this.sizes},
{type: 'button', name: 'color', insert: 'color', dropdown: true, color_select: true, image: 'color.gif',
draw_option: this.drawColorOption, options: this.colors},
{type: 'separator'},
{type: 'button', name: 'youtube', sprite: 'youtube', insert: 'youtube', title: this.options.lang.title_youtube},
{type: 'button', name: 'spoiler', sprite: 'spoiler', insert: 'spoiler', title: this.options.lang.title_sopiler}
]
});