PDA

View Full Version : TinyMCE Plugin



Stephan123
3 Aug 2009, 12:41 AM
Hello !

I have found on
http://www.vinylfox.com/plugin-set-for-additional-extjs-htmleditor-buttons/
some plugins for the htmleditor.

But the plugins not work.
I becam the information 'Ext.ux.form is undefined' . :-?

------------------------

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Plugin Html - Editor</title>

<!-- Css ExtJS -->
<link rel="stylesheet" type="text/css" href="/lib/extjs3/resources/css/ext-all.css">

<!-- Adapter ExtJS -->
<script type="text/javascript" src="/lib/extjs3/adapter/ext/ext-base.js"></script>

<!-- ExtJS Main -->
<script type="text/javascript" src="/lib/extjs3/ext-all-debug.js"></script>

<!-- Sprachdatei -->
<script type="text/javascript" src="/lib/extjs3/build/locale/ext-lang-de-min.js"></script>

<!-- CSS - Datei für Plugin -->
<link rel="stylesheet" type="text/css" href="styles.css">



<!-- Formular -->
<script type="text/javascript" src="formular.js"></script>

<!-- Word - Plugin -->
<script type="text/javascript" src="Ext.ux.form.HtmlEditor.Word"></script>

</head>
<body>



</body>
</html>

---------------------

Ext.onReady(function(){
var modul = new Ext.Window({
title: 'Html - Editor mit Plugin',
width: 800,
autoHeight: true,
frame: true,
items: [{
xtype : "textfield",
fieldLabel : "Name"
},{
xtype : "htmleditor",
height : 300,
fieldLabel : "Editor",
name : "editor",
width : 600,
plugins:[
new Ext.ux.form.HtmlEditor.Word()
]
}]
});

modul.show();
});

---------------------------

How can help ?

Greetings

Stephan