better CSS class handling

This commit is contained in:
Fabian Jakobs 2010-04-21 16:27:23 +02:00
commit 09a09e8ac2
5 changed files with 34 additions and 9 deletions

View file

@ -96,7 +96,7 @@
<input type="checkbox" name="highlight_active" id="highlight_active" checked>
</td>
<td align="right">
<img src="logo.png"></img>
<img src="logo.png">
</td>
</tr>
</table>
@ -108,7 +108,7 @@
for (var i=0; i<items.length; i++) {
alert(items[i] + "juhu";
}
}
}
</script>
<script type="text/editor" id="csstext">.text-layer {
@ -246,7 +246,7 @@ ace.addListener(container, "drop", function(e) {
mode = "html";
} else if (/^.*\.css$/i.test(file.name)) {
mode = "css";
}
}
editor.onTextInput(reader.result);