Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
# CKEditor 5 editor generated with the online builder
2
 
3
This repository presents a CKEditor 5 editor build generated by the [Online builder tool](https://ckeditor.com/ckeditor-5/online-builder)
4
 
5
## Quick start
6
 
7
1. Open the `sample/index.html` page in the browser.
8
 
9
2. Fill the prompt with the license key. If you do not have the license key yet [contact us](https://ckeditor.com/contact/).
10
 
11
## Configuring build
12
 
13
Changes like changing toolbar items, changing order of icons or customizing plugin configurations should be relatively easy to make. Open the `sample/index.html` file and edit the script that initialized the CKEditor 5. Save the file and refresh the browser. That's all.
14
 
15
*Note:* If you have any problems with browser caching use the `Ctrl + R` or `Cmd + R` shortcut depending on your system.
16
 
17
However if you want to remove or add a plugin to the build you need to follow the next step of this guide.
18
 
19
Note that it is also possible to go back to the [Online builder tool](https://ckeditor.com/ckeditor-5/online-builder) and pick other set of plugins. But we encourage you to try the harder way and to learn the principles of Node.js and CKEditor 5 ecosystems that will allow you to do more cool things in the future!
20
 
21
### Installation
22
 
23
In order to rebuild the application you need to install all dependencies first. To do it, open the terminal in the project directory and type:
24
 
25
```
26
npm install
27
```
28
 
29
Make sure that you have the `node` and `npm` installed first. If not, then follow the instructions on the [Node.js documentation page](https://nodejs.org/en/).
30
 
31
### Adding or removing plugins
32
 
33
Now you can install additional plugin in the build. Just follow the [Adding a plugin to an editor tutorial](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/installing-plugins.html#adding-a-plugin-to-an-editor)
34
 
35
### Rebuilding editor
36
 
37
If you have already done the [Installation](#installation) and [Adding or removing plugins](#adding-or-removing-plugins) steps, you're ready to rebuild the editor by running the following command:
38
 
39
```
40
npm run build
41
```
42
 
43
This will build the CKEditor 5 to the `build` directory. You can open your browser and you should be able to see the changes you've made in the code. If not, then try to refresh also the browser cache by typing `Ctrl + R` or `Cmd + R` depending on your system.
44
 
45
## What's next?
46
 
47
Follow the guides available on https://ckeditor.com/docs/ckeditor5/latest/framework/index.html and enjoy the document editing.
48
 
49
## FAQ
50
| Where is the place to report bugs and feature requests?
51
 
52
You can create an issue on https://github.com/ckeditor/ckeditor5/issues including the build id - `9e9snf1zg4kp-d2cnyyo44cbm`. Make sure that the question / problem is unique, please look for a possibly asked questions in the search box. Duplicates will be closed.
53
 
54
| Where can I learn more about the CKEditor 5 framework?
55
 
56
Here: https://ckeditor.com/docs/ckeditor5/latest/framework/
57
 
58
| Is it possible to use online builder with common frameworks like React, Vue or Angular?
59
 
60
Not yet, but it these integrations will be available at some point in the future.