From 90d2edb2e76016706ff6e0ed95db6153a698340c Mon Sep 17 00:00:00 2001 From: Jean-Tiare Le Bigot Date: Wed, 29 Feb 2012 21:45:18 +0100 Subject: [PATCH] first tentative of adding a field --- static/js/pad_editbar.js | 4 ++++ static/pad.html | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 236926310..ffcdcecc0 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -154,6 +154,10 @@ var padeditbar = (function() { ace.ace_doIndentOutdent(true); } + else if (cmd == "style") + { + alert("TOTO"); + } else if (cmd == 'clearauthorship') { if ((!(ace.ace_getRep().selStart && ace.ace_getRep().selEnd)) || ace.ace_isCaret()) diff --git a/static/pad.html b/static/pad.html index 4c6d4d8cf..d649156c2 100644 --- a/static/pad.html +++ b/static/pad.html @@ -28,6 +28,15 @@
  • +
  • + +
  • +