Vergleich jscripts/bbcodes_sceditor.js - 1.8.21 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 31Zeile 31
				'url': '//mixer.com/embed/player/',
'html': '<iframe allowfullscreen="true" src="{url}" width="620" height="349" frameborder="0" data-mybb-vt="{type}" data-mybb-vsrc="{src}"></iframe>'
},

				'url': '//mixer.com/embed/player/',
'html': '<iframe allowfullscreen="true" src="{url}" width="620" height="349" frameborder="0" data-mybb-vt="{type}" data-mybb-vsrc="{src}"></iframe>'
},

			'Vemio': {

			'Vimeo': {

				'match': /vimeo.com\/(\d+)($|\/)/,
'url': '//player.vimeo.com/video/',
'html': '<iframe src="{url}" width="500" height="281" frameborder="0" data-mybb-vt="{type}" data-mybb-vsrc="{src}"></iframe>'

				'match': /vimeo.com\/(\d+)($|\/)/,
'url': '//player.vimeo.com/video/',
'html': '<iframe src="{url}" width="500" height="281" frameborder="0" data-mybb-vt="{type}" data-mybb-vsrc="{src}"></iframe>'

Zeile 107Zeile 107

$.sceditor.command
.set('bulletlist', {


$.sceditor.command
.set('bulletlist', {

			txtExec: ['[list]\n[*]', '\n[/list]']










			txtExec: function (caller, selected) {
var content = '';

$.each(selected.split(/\r?\n/), function () {
content += (content ? '\n' : '') +
'[*]' + this;
});

this.insertText('[list]\n' + content + '\n[/list]');
}

		})
.set('orderedlist', {

		})
.set('orderedlist', {

			txtExec: ['[list=1]\n[*]', '\n[/list]']










			txtExec: function (caller, selected) {
var content = '';

$.each(selected.split(/\r?\n/), function () {
content += (content ? '\n' : '') +
'[*]' + this;
});

this.insertText('[list=1]\n' + content + '\n[/list]');
}

		});

// Update size tag to use xx-small-xx-large instead of 1-7

		});

// Update size tag to use xx-small-xx-large instead of 1-7