2 * WYMeditor : what you see is What You Mean web-based editor
3 * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
4 * Dual licensed under the MIT (MIT-license.txt)
5 * and GPL (GPL-license.txt) licenses.
7 * For further information visit:
8 * http://www.wymeditor.org/
11 * jquery.wymeditor.embed.js
12 * Experimental embed plugin
20 * - The closing object tag seems to be stripped out...
23 if (WYMeditor && WYMeditor.XhtmlValidator['_tags']['param']['attributes']) {
25 WYMeditor.XhtmlValidator['_tags']["embed"] = {
36 WYMeditor.XhtmlValidator['_tags']['param']['attributes'] = {
39 'valuetype':/^(data|ref|object)$/,
44 var XhtmlSaxListener = WYMeditor.XhtmlSaxListener;
45 WYMeditor.XhtmlSaxListener = function () {
46 var listener = XhtmlSaxListener.call(this);
47 listener.block_tags.push('embed');
50 WYMeditor.XhtmlSaxListener.prototype = XhtmlSaxListener.prototype;