"HTML Editor WYSIWYG Interface"
Bootstrap 3.0.3 Snippet by BhaumikPatel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-primary">
<div class="panel-heading">
<div class="btn-group">
<button type="button" class="btn btn-default" data-toggle="tooltip" title="New file">
<i class="fa fa-file-o"></i>
</button>
<button type="button" class="btn btn-default" data-toggle="tooltip" title="Save">
<i class="fa fa-save"></i>
</button>
<button type="button" class="btn btn-default" data-toggle="tooltip" title="Print">
<i class="fa fa-print"></i>
</button>
<button type="button" class="btn btn-default" data-toggle="tooltip" title="Source code">
<i class="fa fa-code"></i> Source
</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-default" data-toggle="tooltip" title="Bold">
<i class="fa fa-bold"></i>
</button>
<button type="button" class="btn btn-default" data-toggle="tooltip" title="Italic">
<i class="fa fa-italic"></i>
</button>
<button type="button" class="btn btn-default" data-toggle="tooltip" title="Underline">
<i class="fa fa-underline"></i>
</button>
<button type="button" class="btn btn-default" data-toggle="tooltip" title="Strikethrough">
<i class="fa fa-strikethrough"></i>
</button>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
@import url(http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css);
body{margin-top:50px;background: rgb(36, 39, 41);}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
$(document).ready(function() {
$('button').tooltip({container: 'body'});
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

This is probably the most worthless snippet here.

astralislux () - 11 years ago - Reply 0


Why?

maxsurguy () - 11 years ago - Reply 0


The tasks demonstrated have nothing to do with a WYSIWYG editor. Instead, this is about Bootstrap icon placement and hover description, which should be better described on its own and the WYSIWYG editor is removed entirely. This so-called editor doesn't even demonstrate an ability to create a scrolling body -- which I'm quite sure it cannot do.

astralislux () - 11 years ago - Reply 0


But how to use this formatting?

Sushan () - 11 years ago - Reply 0


You'd have to write a lot of Javascript to do it.

maxsurguy () - 11 years ago - Reply 0


Yes! we can integrated this with HTML 5 Document API...Thanks

Ashwin Hegde () - 11 years ago - Reply 0


The tasks demonstrated have nothing to do with a WYSIWYG editor. Instead, this is about Bootstrap icon placement and hover description, which should be better described on its own and the WYSIWYG editor is removed entirely. This so-called editor mark-up doesn't even demonstrate an ability to create a scrolling body -- which I'm quite sure it cannot do.

Guest () - 11 years ago - Reply 0