mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
12 lines
240 B
HTML
12 lines
240 B
HTML
|
<html><body>
|
||
|
<script type="text/javascript">
|
||
|
//function doBold(){
|
||
|
range = document.createRange();
|
||
|
newNode = document.createElement("b");
|
||
|
range.selectNodeContents(document);
|
||
|
|
||
|
range.surroundContents(newNode)
|
||
|
//}
|
||
|
</script>
|
||
|
text
|
||
|
</body></html>
|