My favorites
▼
|
Sign in
szsz
Random code snippets
Project Home
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
misc
/
biu.htm
‹r19
r60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<title>Bold Italic Underline</title>
<div id="toolbar">
<button onclick="document.execCommand('bold',null,null);">B</button>
<button onclick="document.execCommand('italic',null,null);">I</button>
<button onclick="document.execCommand('underline',null,null);">U</button>
</div>
<div id="editor" contenteditable="true" style="width:100%; height:20em; border: solid thin grey;">
Better than notepad
</div>
<div id="command">
<button onclick="alert(document.getElementById('editor').innerHTML)">save</button>
</div>
Show details
Hide details
Change log
r24
by grr...@szsz.pl on Aug 16, 2010
Diff
Minimal web browser (app mode)
Go to:
/trunk/misc/biu.htm
/trunk/weby
/trunk/weby/Makefile
/trunk/weby/configure
/trunk/weby/weby.cc
/trunk/weby/weby.pro
Project members,
sign in
to write a code review
Older revisions
r19
by grr...@szsz.pl on Oct 18, 2009
Diff
content-editable - editor test
All revisions of this file
File info
Size: 537 bytes, 17 lines
View raw file
Powered by
Google Project Hosting