|
|
@@ -58,13 +58,13 @@ The following are the main files available in all build distributions:
|
|
|
Once downloaded and installed in your application, it is time to make the API available in your pages. For that purpose, it is enough to load the API entry point script:
|
|
|
|
|
|
```html
|
|
|
-<script src="/ckeditor/build/ckeditor.js"></script>
|
|
|
+<script src="[ckeditor path]/build/ckeditor.js"></script>
|
|
|
```
|
|
|
|
|
|
Once the CKEditor script is loaded, you can {@link builds/guides/integration/basic-api use the API} to create editors in your page.
|
|
|
|
|
|
<info-box>
|
|
|
- The `build/ckeditor.js` file is generated in the [UMD format](https://github.com/umdjs/umd) so you can also import it to your application if you use CommonJS modules (like in Node.js) or AMD modules (like in Require.js). Read more in the {@link builds/guides/integration/basic-api Basic API guide}.
|
|
|
+ The `build/ckeditor.js` file is generated in the [UMD format](https://github.com/umdjs/umd) so you can also import it to your application if you use CommonJS modules (like in Node.js) or AMD modules (like in Require.js). Read more in the {@link builds/guides/integration/basic-api#UMD-support Basic API guide}.
|
|
|
|
|
|
Also, for a more advanced setup, you may wish to bundle the CKEditor script with other scripts used by your application. See {@linkTODO Bundling} for more information about it.
|
|
|
</info-box>
|