OSDN Git Service

WYSIWYG editor change to YUI rich text editor.
[feedblog/feedgenerator.git] / wymeditor / plugins / embed / jquery.wymeditor.embed.js
diff --git a/wymeditor/plugins/embed/jquery.wymeditor.embed.js b/wymeditor/plugins/embed/jquery.wymeditor.embed.js
deleted file mode 100644 (file)
index b4d0856..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * WYMeditor : what you see is What You Mean web-based editor
- * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
- * Dual licensed under the MIT (MIT-license.txt)
- * and GPL (GPL-license.txt) licenses.
- *
- * For further information visit:
- *        http://www.wymeditor.org/
- *
- * File Name:
- *        jquery.wymeditor.embed.js
- *        Experimental embed plugin
- *
- * File Authors:
- *        Jonatan Lundin
- */
-
-/*
- * ISSUES:
- * - The closing object tag seems to be stripped out...
- */
-(function() {
-    if (WYMeditor && WYMeditor.XhtmlValidator['_tags']['param']['attributes']) {
-        
-        WYMeditor.XhtmlValidator['_tags']["embed"] = {
-            "attributes":[
-                "allowscriptaccess",
-                "allowfullscreen",
-                "height",
-                "src",
-                "type",
-                "width"
-            ]
-        };
-        
-        WYMeditor.XhtmlValidator['_tags']['param']['attributes'] = {
-            '0':'name',
-            '1':'type',
-            'valuetype':/^(data|ref|object)$/,
-            '2':'valuetype',
-            '3':'value'
-        };
-        
-        var XhtmlSaxListener = WYMeditor.XhtmlSaxListener;
-        WYMeditor.XhtmlSaxListener = function () {
-            var listener = XhtmlSaxListener.call(this);
-            listener.block_tags.push('embed');
-            return listener;
-        };
-        WYMeditor.XhtmlSaxListener.prototype = XhtmlSaxListener.prototype;
-    }
-})();