-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtext-editor.html
183 lines (183 loc) · 11.6 KB
/
text-editor.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<!-- meta -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Documentation v5.0.3 | Gameforest Bootstrap Gaming Theme</title>
<!-- css: plugins -->
<link rel="stylesheet" href="assets/plugins/highlight/styles/github.css">
<!-- css: theme -->
<link rel="stylesheet" href="../dist/css/theme.css">
<link rel="stylesheet" href="assets/css/docs.min.css">
</head>
<body class="fixed-navbar">
<div class="site">
<header class="site-header">
<nav class="navbar navbar-expand-lg navbar-dark navbar-docs pr-3">
<div class="container-fluid px-0">
<a class="navbar-brand" href="../dist">Gameforest</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<ul class="navbar-nav flex-row d-none d-md-flex">
<li class="nav-item"><a class="nav-link" href="../dist" target="_blank">Preview</a></li>
<li class="nav-item"><a class="nav-link" href="index.html">Documentation</a></li>
<li class="nav-item"><a class="nav-link" href="changelog.html">Changelog</a></li>
<li class="nav-item"><a class="btn btn-outline-light" href="https://themeforest.net/downloads#item-5007730" target="_blank">Rate now <i class="ya ya-star-add"></i></a></li>
<li class="nav-item"><a class="nav-link ml-2" href="github.html"><i class="ya ya-github"></i></a></li>
<li class="nav-item"><a class="nav-link pl-1" href="https://www.facebook.com/yakuthemes" target="_blank"><i class="ya ya-facebook"></i></a></li>
<li class="nav-item"><a class="nav-link pl-1" href="https://www.twitter.com/yakuthemes" target="_blank"><i class="ya ya-twitter"></i></a></li>
</ul>
<!-- end .navbar-nav -->
</div>
</nav>
</header>
<!-- end .site-header -->
<div class="sidebar">
<div class="sidebar-search">
<input type="text" class="form-control" id="search" placeholder="Search..." autocomplete="off">
<div class="list-group sidebar-results" id="results"></div>
</div>
<div class="sidebar-subtitle">Getting Started</div>
<a class="sidebar-link" href="index.html"><span>Introduction</span></a>
<a class="sidebar-link" href="file-structure.html"><span>File Structure</span></a>
<a class="sidebar-link" href="gulp.html"><span>Gulp</span></a>
<a class="sidebar-link" href="sass.html"><span>Sass</span></a>
<a class="sidebar-link" href="twig.html"><span>Twig</span></a>
<a class="sidebar-link" href="javascript.html"><span>Javascript</span></a>
<a class="sidebar-link" href="plugins.html"><span>Plugins</span></a>
<a class="sidebar-link" href="github.html"><span>Github</span></a>
<a class="sidebar-link" href="changelog.html"><span>Changelog</span></a>
<div class="sidebar-subtitle">Bootstrap Components</div>
<a class="sidebar-link" href="alerts.html"><span>Alerts</span></a>
<a class="sidebar-link" href="badges.html"><span>Badges</span></a>
<a class="sidebar-link" href="breadcrumb.html"><span>Breadcrumb</span></a>
<a class="sidebar-link" href="buttons.html"><span>Buttons</span></a>
<a class="sidebar-link" href="cards.html"><span>Cards</span></a>
<a class="sidebar-link" href="columns.html"><span>Columns</span></a>
<a class="sidebar-link" href="dropdowns.html"><span>Dropdowns</span></a>
<a class="sidebar-link" href="forms.html"><span>Forms</span></a>
<a class="sidebar-link" href="input-groups.html"><span>Input Groups</span></a>
<a class="sidebar-link" href="modal.html"><span>Modal</span></a>
<a class="sidebar-link" href="navbar.html"><span>Navbar</span></a>
<a class="sidebar-link" href="pagination.html"><span>Pagination</span></a>
<a class="sidebar-link" href="popovers.html"><span>Popovers</span></a>
<a class="sidebar-link" href="progress.html"><span>Progress</span></a>
<a class="sidebar-link" href="tables.html"><span>Tables</span></a>
<a class="sidebar-link" href="tabs.html"><span>Tabs</span></a>
<a class="sidebar-link" href="tooltips.html"><span>Tooltips</span></a>
<div class="sidebar-subtitle">Gameforest Components</div>
<a class="sidebar-link" href="accordions.html"><span>Accordions</span></a>
<a class="sidebar-link" href="avatars.html"><span>Avatars</span></a>
<a class="sidebar-link" href="background.html"><span>Background</span></a>
<a class="sidebar-link" href="blog.html"><span>Blog</span></a>
<a class="sidebar-link" href="carousel.html"><span>Carousel</span></a>
<a class="sidebar-link" href="charts.html"><span>Charts</span></a>
<a class="sidebar-link" href="comments.html"><span>Comments</span></a>
<a class="sidebar-link" href="datatables.html"><span>DataTables</span></a>
<a class="sidebar-link" href="datepicker.html"><span>DatePicker</span></a>
<a class="sidebar-link" href="embed.html"><span>Embed</span></a>
<a class="sidebar-link" href="icons.html"><span>Icons</span></a>
<a class="sidebar-link" href="lightbox.html"><span>Lightbox</span></a>
<a class="sidebar-link" href="notification.html"><span>Notification</span></a>
<a class="sidebar-link" href="promo.html"><span>Promo</span></a>
<a class="sidebar-link" href="select.html"><span>Select</span></a>
<a class="sidebar-link" href="social.html"><span>Social</span></a>
<a class="sidebar-link" href="sticky.html"><span>Sticky</span></a>
<a class="sidebar-link active" href="text-editor.html"><span>Text Editor</span></a>
<a class="sidebar-link" href="typography.html"><span>Typography</span></a>
<a class="sidebar-link" href="widgets.html"><span>Widgets</span></a>
</div>
<!-- end .sidebar -->
<div class="site-content" role="main">
<section>
<div class="container">
<div class="row">
<div class="col-9">
<h1 class="mb-4">Text Editor</h1>
<p class="lead">A set of ready to use rich text editors created with a powerful framework. CKEditor 5 Builds are the fastest and easiest way to use CKEditor 5 in your application.</p>
<hr class="docs-separator my-5">
<div class="docs-block">
<h4 id="introduction" class="mb-3 anchor">
Introduction
</h4>
<p>To getting started we need to add the required stylesheet and javascript files to our page. You can find an example below but for more examples check the <a href="https://ckeditor.com/" target="_blank">CKEditor</a> website.</p>
<div class="docs-code">
<button class="btn btn-default btn-icon btn-clipboard" data-toggle="tooltip" title="Copy" rel="#introduction_code"><i class="ya ya-save"></i></button>
<pre class="pre"><code id="introduction_code" class="twig"><!-- Javascript -->
<script src="plugins/ckeditor/ckeditor.js"></script>
<script>
ClassicEditor.create( document.querySelector( '#editor' ));
</script></code></pre>
</div>
</div>
<div class="docs-block">
<h4 id="example" class="mb-3 anchor">
Example
</h4>
<p>The <code>.ckeditor</code> class is required to set the proper height of text editor.</p>
<div class="form-group ckeditor">
<textarea name="content" id="editor">
<p>Here goes the initial content of the editor.</p>
</textarea>
</div>
<div class="docs-code">
<button class="btn btn-default btn-icon btn-clipboard" data-toggle="tooltip" title="Copy" rel="#example_code"><i class="ya ya-save"></i></button>
<pre class="pre"><code id="example_code" class="twig"><div class="form-group ckeditor">
<textarea name="content" id="editor">
<p>Here goes the initial content of the editor.</p>
</textarea>
</div></code></pre>
</div>
</div>
</div>
<div class="col-3">
<nav class="nav nav-docs flex-column" ya-sticky="top: 100">
<a class="nav-link" href="#introduction">Introduction</a>
<a class="nav-link" href="#example">Example</a>
<div class="divider"></div>
<a class="nav-link" href="https://github.com/yakuthemes/gameforest/issues" target="_blank"><i class="ya ya-help"></i> Report issue</a>
<a class="nav-link" href="https://themeforest.net/item/gameforest-responsive-gaming-html-theme/5007730/comments" target="_blank"><i class="ya ya-link"></i> Get help</a>
</nav>
</div>
</div>
</div>
</section>
</div>
<!-- end .site-content -->
<a class="version" href="changelog.html" data-toggle="tooltip" data-placement="left" title="Gameforest version"><i class="ya ya-bulb mr-1"></i> v5.0.3</a>
<footer class="docs-footer">
<p class="mr-auto">Copyright © 2019 by <a href="https://yakuthemes.com" target="_blank">@yakuthemes</a>. Thank you for using yakuthemes products.</p>
<a href="index.html">Getting Started</a>
<a href="changelog.html">Changelog</a>
<a href="../dist">Preview</a>
<a href="#">Ratings</a>
<a href="#">Support</a>
<a href="#">Download</a>
</footer>
</div>
<!-- end .site -->
<!-- js: vendor -->
<script src="../dist/js/vendor.js"></script>
<script src="../dist/js/theme.min.js"></script>
<script src="assets/plugins/holder/holder.min.js"></script>
<script src="assets/plugins/clipboard/clipboard.min.js"></script>
<script src="assets/plugins/highlight/highlight.pack.js"></script>
<script src="assets/js/docs.min.js"></script>
<script src="../plugins/ckeditor/ckeditor.js"></script>
<script>
ClassicEditor.create(document.querySelector('#editor'));
</script>
<script>
var gameforest = {
disqus: 'gameforestyakuzieu',
facebook: {
lang: 'en_US',
version: 'v3.2',
id: '',
}
}
</script>
</body>
</html>