Skip to content

Commit 31ea782

Browse files
author
Shashank Sharma
committed
Fixed issue for font-awesome.
1 parent 1f99c06 commit 31ea782

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

demo/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<link rel="stylesheet" href="../bower_components/froala-wysiwyg-editor/css/plugins/table.css">
2525
<link rel="stylesheet" href="../bower_components/froala-wysiwyg-editor/css/plugins/video.css">
2626
<link rel="stylesheet" href="../bower_components/froala-wysiwyg-editor/css/plugins/special_characters.css">
27+
<link rel="stylesheet" href="../bower_components/froala-wysiwyg-editor/css/third_party/font_awesome.min.css">
28+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
2729

2830
<!-- Include Froala Editor -->
2931
<script src="../bower_components/froala-wysiwyg-editor/js/froala_editor.pkgd.min.js"></script>
@@ -39,6 +41,7 @@
3941
<script src="../bower_components/froala-wysiwyg-editor/js/plugins/file.min.js"></script>
4042
<script src="../bower_components/froala-wysiwyg-editor/js/plugins/font_family.min.js"></script>
4143
<script src="../bower_components/froala-wysiwyg-editor/js/plugins/font_size.min.js"></script>
44+
<script src="../bower_components/froala-wysiwyg-editor/js/third_party/font_awesome.min.js"></script>
4245
<script src="../bower_components/froala-wysiwyg-editor/js/plugins/fullscreen.min.js"></script>
4346
<script src="../bower_components/froala-wysiwyg-editor/js/plugins/image.min.js"></script>
4447
<script src="../bower_components/froala-wysiwyg-editor/js/plugins/image_manager.min.js"></script>
@@ -70,7 +73,7 @@ <h2>Sample 1: Inline Edit</h2>
7073

7174
<div class="sample">
7275
<h2>Sample 2: Full Editor</h2>
73-
<textarea id="froala-sample-2" froala ng-model="sample2Text"></textarea>
76+
<textarea id="froala-sample-2" froala ng-model="sample2Text" contentEditable="true" ng-model-options="{ updateOn: 'blur'}"></textarea>
7477
<h4>Rendered Content:</h4>
7578
<div froala-view="sample2Text"></div>
7679
</div>

0 commit comments

Comments
 (0)