forked from ckeditor/ckeditor5-demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (54 loc) · 2.08 KB
/
index.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
<!DOCTYPE html>
<!--
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
-->
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Editor with Button Grouping user interface</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="demo.css" />
<link rel="stylesheet" href="content.css" />
</head>
<body>
<div class="header-wrapper">
<h1>Editor with Button Grouping user interface</h1>
</div>
<div class="editor-wrapper">
<div id="cke5-user-interface-button-grouping-demo">
<h1>Tidy things up 🧹️ with a customizable toolbar</h1>
<p>
CKEditor’s
<a target="_blank" rel="noopener noreferrer" href="https://ckeditor.com/docs/ckeditor5/latest/features/toolbar/toolbar.html">toolbar</a>
lets you mix and match as many (or as few) features as you need. When things get too busy, you can
<strong>easily group toolbar buttons</strong>. Look, for instance, how this editor’s features are divided into neat groups with
<code>|</code>
separators.
</p>
<p>
To unclutter the toolbar even more, you can
<strong>arrange items into dropdowns</strong>. Use the
<strong>Lists</strong>
button above to reveal a menu with different list types.
</p>
<h2>Outstanding configurability 👌</h2>
<p>
But that’s not all! CKEditor also offers
<strong>toolbar wrapping</strong>
: automatic or at a specified breakpoint. This works great with toolbars that do not fit the editor’s width. Additional buttons can either be hidden under a
<code>⋮</code>
menu or moved to the next toolbar line.
</p>
<p>
You can even
<strong>add your own buttons</strong>
to the toolbar by
<a target="_blank" rel="noopener noreferrer" href="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/plugins/creating-simple-plugin-timestamp.html">creating custom plugins</a>
!
</p>
</div>
</div>
<script src="./dist/main.js"></script>
</body>
</html>