diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-10-07 22:46:20 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-10-07 22:46:20 +0200 |
| commit | ac8805e81c362d5bfe7d84583e8dfc5441ae82a1 (patch) | |
| tree | ae311a5883ce7a5ae442e7bc8cc991858be01679 /chimere/static | |
| parent | c478b609b270c20c90eda618962a7efad6b26ca2 (diff) | |
| download | Chimère-ac8805e81c362d5bfe7d84583e8dfc5441ae82a1.tar.bz2 Chimère-ac8805e81c362d5bfe7d84583e8dfc5441ae82a1.zip | |
Widgets: distinguish Textarea in admin and in main interface
Diffstat (limited to 'chimere/static')
| -rw-r--r-- | chimere/static/chimere/js/textareas.js | 2 | ||||
| -rw-r--r-- | chimere/static/chimere/js/textareas_admin.js | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/chimere/static/chimere/js/textareas.js b/chimere/static/chimere/js/textareas.js index e15e7f2..048718d 100644 --- a/chimere/static/chimere/js/textareas.js +++ b/chimere/static/chimere/js/textareas.js @@ -22,7 +22,7 @@ tinyMCE.init({ theme : "advanced", editor_selector : "mceEditor", relative_urls : false, - theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,bullist,numlist,separator,hr,separator,link,image", + theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,bullist,numlist,separator,hr,separator,link", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "" }); diff --git a/chimere/static/chimere/js/textareas_admin.js b/chimere/static/chimere/js/textareas_admin.js new file mode 100644 index 0000000..e15e7f2 --- /dev/null +++ b/chimere/static/chimere/js/textareas_admin.js @@ -0,0 +1,28 @@ +/* base function shared by some pages */ +/* Copyright (C) 2009 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. + +See the file COPYING for details. +*/ + +tinyMCE.init({ + mode : "textareas", + theme : "advanced", + editor_selector : "mceEditor", + relative_urls : false, + theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,bullist,numlist,separator,hr,separator,link,image", + theme_advanced_buttons2 : "", + theme_advanced_buttons3 : "" +}); |
