/* * Wysiwyg input for Jeditable * * Copyright (c) 2008 Mika Tuupola * * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php * * Depends on jWYSIWYG plugin by Juan M Martinez: * http://projects.bundleweb.com.ar/jWYSIWYG/ * * Project home: * http://www.appelsiini.net/projects/jeditable * * Revision: $Id$ * */ $.editable.addInputType('wysiwyg', { /* Use default textarea instead of writing code here again. */ //element : $.editable.types.textarea.element, element : function(settings, original) { /* Hide textarea to avoid flicker. */ var textarea = $('