aboutsummaryrefslogtreecommitdiffstats
path: root/library/bbedit/sample.htm
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-10 15:07:45 -0800
committerfriendica <info@friendica.com>2012-12-10 15:07:45 -0800
commit60d21716da68028ba63e4f2aa40c35f4bfe54b0d (patch)
tree9613fc5c701a526d3fd9456ed1f9f44c0b4984db /library/bbedit/sample.htm
parente5eb8e2c055202adfa6e997a5082650136579ab7 (diff)
downloadvolse-hubzilla-60d21716da68028ba63e4f2aa40c35f4bfe54b0d.tar.gz
volse-hubzilla-60d21716da68028ba63e4f2aa40c35f4bfe54b0d.tar.bz2
volse-hubzilla-60d21716da68028ba63e4f2aa40c35f4bfe54b0d.zip
alternate wysiwyg bbcode editor
Diffstat (limited to 'library/bbedit/sample.htm')
-rw-r--r--library/bbedit/sample.htm37
1 files changed, 37 insertions, 0 deletions
diff --git a/library/bbedit/sample.htm b/library/bbedit/sample.htm
new file mode 100644
index 000000000..573687330
--- /dev/null
+++ b/library/bbedit/sample.htm
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head runat="server">
+ <link href="editor.css" rel="Stylesheet" type="text/css" />
+ <script src="editor.js" type="text/javascript"></script>
+</head>
+<body>
+<form onsubmit="doCheck();"> <!--THIS IS IMPORTANT-->
+
+
+ <div class="richeditor">
+ <div class="editbar">
+ <button title="bold" onclick="doClick('bold');" type="button"><b>B</b></button>
+ <button title="italic" onclick="doClick('italic');" type="button"><i>I</i></button>
+ <button title="underline" onclick="doClick('underline');" type="button"><u>U</u></button>
+ <button title="hyperlink" onclick="doLink();" type="button" style="background-image:url('images/url.gif');"></button>
+ <button title="image" onclick="doImage();" type="button" style="background-image:url('images/img.gif');"></button>
+ <button title="list" onclick="doClick('InsertUnorderedList');" type="button" style="background-image:url('images/icon_list.gif');"></button>
+ <button title="color" onclick="showColorGrid2('none')" type="button" style="background-image:url('images/colors.gif');"></button><span id="colorpicker201" class="colorpicker201"></span>
+ <button title="quote" onclick="doQuote();" type="button" style="background-image:url('images/icon_quote.png');"></button>
+ <button title="youtube" onclick="InsertYoutube();" type="button" style="background-image:url('images/icon_youtube.gif');"></button>
+ <button title="switch to source" type="button" onclick="javascript:SwitchEditor()" style="background-image:url('images/icon_html.gif');"></button>
+ </div>
+ <div class="container">
+ <textarea id="tbMsg" style="height:150px;width:100%;"></textarea>
+ </div>
+ </div>
+ <script type="text/javascript">
+ initEditor("tbMsg", true);
+ </script>
+ <input type="submit" onclick="doCheck();" />
+
+
+
+</form>
+</body>
+</html> \ No newline at end of file