Anyone got any ideas to replace the editor with a simple textarea for the news summary in EasyEdit?
[quote]
Anyone got any ideas to replace the editor with a simple textarea for the news summary in EasyEdit?
[/quote]
I have successfully replaced the standard editor with CKEditor. But, that took a bit of work and I had to edit assets.
What we really need it Viper integration in the newest version of the Easy Edit. The Matrix Community calls for that feature!! 
Here's what I've got:
[font="Lucida Console"]
/**
- EES plugin - Changes wysiwyg editor for News' Summary to a text area
*/
EasyEdit.plugins.textAreas = {
init: function() {
var self = this;
self.textArea;
// Add a function to the screen load event
//EasyEditEventManager.bind('EasyEditScreenLoad',self.textArea);
},
textArea: function(){
// Get the current asset
EasyEditAssetManager.getCurrentAsset(function(asset){
// if news
switch (asset.attribute('type_code')) {
case 'news_item':
//no toggle button
$('#news_item_'+asset.attribute('id')+'962_switch_option_div').replaceWith('');
//change to text area
$('#news_item'+asset.attribute('id')+'_962_contents_div').replaceWith('<textarea style="border: 1px dashed #CCC;" id="news_item_0_962" class="sq-form-field" cols="70" rows="3" value="" name="news_item_0_962">'+asset.attribute('summary')+'</textarea>');
break;
}
});
}
};
[/font]
It doesn't seem to bind to the Contents Screen, is this possible?
There is a bug with screenload event, in that we only added to one of two locations where screens are loaded. It can easily be rectified if you have access to edit the EES js files and the minify script. Please see Anthony's reply to a similar screen load issue here: http://forums.matrix.squiz.net/index.php?showtopic=7667
[quote]What we really need it Viper integration in the newest version of the Easy Edit. The Matrix Community calls for that feature!! 
[/quote]
Seconded!
[quote]
Seconded!
[/quote]
Yes! We have two supporters!
Thanks-it works fine now