aboutsummaryrefslogtreecommitdiffstats
path: root/infrastructure/ace/www/contentcollector.js
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-02-05 01:58:02 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2010-02-05 02:17:51 +0100
commit1199878005d6980e6f3631f419778927147bd639 (patch)
tree266c60e73d5cbd4ffc8a36ea7dc005b877ca3273 /infrastructure/ace/www/contentcollector.js
parent06ba710dccff087c8546aee7812487693ea7e88c (diff)
downloadetherpad-1199878005d6980e6f3631f419778927147bd639.tar.gz
etherpad-1199878005d6980e6f3631f419778927147bd639.tar.xz
etherpad-1199878005d6980e6f3631f419778927147bd639.zip
added header buttons and used backend functionality
Diffstat (limited to 'infrastructure/ace/www/contentcollector.js')
-rw-r--r--infrastructure/ace/www/contentcollector.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/infrastructure/ace/www/contentcollector.js b/infrastructure/ace/www/contentcollector.js
index 41922d7..573672e 100644
--- a/infrastructure/ace/www/contentcollector.js
+++ b/infrastructure/ace/www/contentcollector.js
@@ -343,6 +343,21 @@ function makeContentCollector(collectStyles, browser, apool, domInterface,
if (tname == "h1") {
doAttrib("h1");
}
+ if (tname == "h2") {
+ doAttrib("h2");
+ }
+ if (tname == "h3") {
+ doAttrib("h3");
+ }
+ if (tname == "h4") {
+ doAttrib("h4");
+ }
+ if (tname == "h5") {
+ doAttrib("h5");
+ }
+ if (tname == "h6") {
+ doAttrib("h6");
+ }
if (tname == "ul") {
var type;
var rr = cls && /(?:^| )list-(bullet[12345678])\b/.exec(cls);