Mercurial > public > sg101
view media/js/tiny_mce/plugins/xhtmlxtras/js/cite.js @ 128:48621ba5c385
Fixing #36, Smilify doesn't work when a smiley appears first before other text. Refactored the smiley system to produce markdown as well as HTML.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 20 Nov 2009 01:43:32 +0000 |
parents | a5b4c5ce0658 |
children | 149c3567fec1 |
line wrap: on
line source
/** * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $ * * @author Moxiecode - based on work by Andrew Tetlaw * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. */ function init() { SXE.initElementDialog('cite'); if (SXE.currentAction == "update") { SXE.showRemoveButton(); } } function insertCite() { SXE.insertElement('cite'); tinyMCEPopup.close(); } function removeCite() { SXE.removeElement('cite'); tinyMCEPopup.close(); } tinyMCEPopup.onInit.add(init);