J'utilise l'éditeur YUI Rich Text sur mon site. Je le charge en utilisant le chargement javascript de Google. Lorsque je tente de créer un lien (ou toute autre action qui crée une boîte « Paramètres », la barre de titre est manquant, voir picture here. Vous pouvez voir comment il devait regarder par-dessus here au site Yahoos pour YUI.barre de titre est manquante dans YUI
I « utilise ce code dans le <head>
-tag:
<!--Include YUI Loader: -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/yuiloader/yuiloader-min.js"></script>
<!--Use YUI Loader to bring in your other dependencies: -->
<script type="text/javascript">
// Instantiate and configure YUI Loader:
(function() {
var loader = new YAHOO.util.YUILoader({
base: "http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/",
require: ["editor"],
loadOptional: true,
combine: false,
filter: "MIN",
allowRollup: true,
onSuccess: function() {
var Editor = new YAHOO.widget.Editor('content', {
height: '300px',
width: '802px',
dompath: true, //Turns on the bar at the bottom
animate: true //Animates the opening, closing and moving of Editor windows
});
Editor.render();
}
});
// Load the files using the insert() method.
loader.insert();
})();
</script>
Et dans ma page web:
<div class="sIFR-ignore yui-skin-sam">
<textarea name="content" id="content" cols="50" rows="10">
</textarea>
</div>
srry .. vous avez tort – Evert