Skip to content

Commit

Permalink
feat: wysiwyg editor (#107)
Browse files Browse the repository at this point in the history
* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v10.0.0.

* Docs: Changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v10.0.1.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Build.

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v10.1.0.

* Switched to webpack@4.12 and UglifyJsWebpackPlugin.

* Internal: Build.

* Changed RegExp for preserved comments.

* Switched back to banner with exclamation mark.

* Webpack up.

* Bump, bump.

* Hide unnecessary warnings.

* Improved comments.

* Internal: Upgraded version of Node.js. See ckeditor/ckeditor5-dev#417.

* Docs: Improved the package description.

* Docs: Improved keywords and the readme. [skip ci]

* Internal: Aligned code to changes in ckeditor5-core. See ckeditor/ckeditor5-core#140.

* Internal: Build.

* Other: Changed the build structure. TODO. Closes ckeditor/ckeditor5#1038.

* Internal: Build.

* Internal: Build.

* Internal: Build.

* Internal: Build.

* Internal: Build.

* Removed unnecessary comment in `webpack.config.js`.

* Internal: Further builds simplifications plus some comments.

* Internal: Build.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v11.0.0.

* Internal: Build.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Internal: Build.

* Release: v11.0.1.

* Docs: Changed links to documentation. See ckeditor/ckeditor5#1192.

* Internal: Upgraded dependencies.

* Docs: Changed links to documentation. See ckeditor/ckeditor5#1192.

* Upgraded version of ESLint.

* Added build screenshot to README.md.

* Added Media Embed and Table features to the build.

* Internal: Build.

* Internal: Build.

* That option got renamed in the meantime.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v11.1.0. [skip ci]

* Docs: Fixed invalid merge in the readme.

* Docs: Changelog. [skip ci]

* Internal: Build.

* Release: v11.1.1. [skip ci]

* Docs: Made contributing guide link to our docs. [skip ci]

* Feature: Introduced the Paste From Office feature.

* Feature: Introduced the CKFinder integration plugin.

* Internal: Build.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v11.2.0. [skip ci]

* Introduced a linter and Travis.

* Added a configuration for ESLint.

* Directory created by Mgit on CI must be ignored as well.

* Code style in tests.

* Update raw-loader dependency.

* Aligned Travis configuration after switching to Yarn. See ckeditor/ckeditor5#1214.

* Docs: Added build status badges to the README. See: ckeditor/ckeditor5#1236.

* Fixed formatting in Travis configuration file.

* Updated deps.

* Add memory leak test.

* Add missing ckeditor5-core dependency.

* Internal: Bumped the year. [skip ci]

* Upgraded version of husky.

* Other: Upgraded minimal versions of Node and npm. See: ckeditor/ckeditor5#1507.

* Internal: Updated deps.

* Internal: Build.

* Internal: Build.

* Docs: Updated the homepage link. [skip ci]

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v12.0.0. [skip ci]

* Internal: Removed unnecessary and added missing deps.

* Internal: Introduced Slack Notifications for this repository on CI.

* Internal: Build.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v12.1.0. [skip ci]

* Internal: Changed a way how to install Chrome on Travis. [skip ci]

* Internal: Updated the license header. See ckeditor/ckeditor5#1557. [skip ci]

* Internal: Build.

* Internal: Updated license section in README. See ckeditor/ckeditor5#1557. [skip ci]

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v12.2.0. [skip ci]

* Removed BrowserStack from the repository.

* Internal: Build.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v12.3.0. [skip ci]

* Internal: Ping CI.

* Internal: Bumped up deps.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v12.3.1. [skip ci]

* All tests require an image that exists. It will not cause the 404 error.

* Bumped style-loader to v1.0.0. Aligned the webpack config to the new loader API.

* Bumped up raw-loader, uglifyjs-webpack-plugin, webpack, and webpack-cli dependencies.

* Internal: Build.

* Internal: Build.

* Other: Changed the URL under bugs key in package.json file. Now we have one issue tracker. See ckeditor/ckeditor5#1988.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v12.4.0. [skip ci]

* Internal: Make CI green.

* Docs: Removed gitter badge. See ckeditor/ckeditor5#2037. [skip ci]

* Internal: Upgraded CI environment to use Xenial version of the distro. See ckeditor/ckeditor#2041.

* Feature: Enabled the indent feature in the build.

* Internal: Build.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v15.0.0. [skip ci]

* Internal: Make CI green.

* Internal: Updated the GitHub PR template because all packages share the same issue tracker now (see ckeditor/ckeditor5#5576).

* Internal: Enabled stylelint in the package.

* Internal: Allowed empty input in the stylelint script to avoid errors when no files are found. Added missing stylelint-config-recommended dependency.

* Internal: Added the stylelintrc config. [skip ci]

* Used the external stylelint-config-ckeditor5 package for stylelint configuration.

* Replaced UglifyJS with Terser.

* Internal: Build.

* Internal: Added a missing pacakge dev-dependencies. See ckeditor/ckeditor5#5856.

* Internal: Made the error initialization catch statements more informative.

* Minor improvements to error messages used in manual tests and a sample. [skip ci]

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v16.0.0. [skip ci]

* Internal: Make CI green.

* Internal: Added blog post URL. [skip ci]

* Internal: Fixed blog post URL for the 11.0.0 release. [skip ci]

* Internal: Added config for package.json to .editorconfig. See #318.

* Internal: Bumped the year. [skip ci]

* Internal: Build.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v17.0.0. [skip ci]

* Internal: Make CI green.

* Fix dangling comma.

* Docs: Version 17.0.0 blog post links arrived!

* Add TextTransformation plugin to the build config

* Internal: Build.

* Internal: Build.

* Added data-cke attribute to style selector.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v18.0.0. [skip ci]

* Internal: Make CI green.

* Internal: Build.

* Internal: Updated the version of Node.js on Travis. See ckeditor/ckeditor5#6542.

* Internal: Updated dependencies.

* Internal: Build.

* Docs: Changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Docs: Corrected the changelog. [skip ci]

* Internal: Updated dependencies. [skip ci]

* Internal: Build.

* Release: v19.0.0. [skip ci]

* use CKEditor in MomentaryChat

* custom ckeditor5 build

* editor layout tuning

* move tgz to web

* use custom package published on npm

* remove unused tgz

* adjust balloon toolbar z-index

* clean install

* test manual edit lock file

* remove scoped package

* add pretest to force install the package

* rename pkg

Co-authored-by: Piotrek Koszuliński <pkoszulinski@gmail.com>
Co-authored-by: Maciej Bukowski <ma2ciek@gmail.com>
Co-authored-by: Kamil Piechaczek <pomek@pomek.pl>
Co-authored-by: Aleksander Nowodzinski <a.nowodzinski@cksource.com>
Co-authored-by: dkonopka <d.konopka@cksource.com>
Co-authored-by: Maciej Gołaszewski <jodator@jodator.net>
Co-authored-by: Kamil Piechaczek <pomek@users.noreply.github.com>
Co-authored-by:  <mlewand@MARCO-XPS.localdomain>
Co-authored-by: Marek Lewandowski <m.lewandowski@cksource.com>
Co-authored-by: panr <radoslaw.koziel@gmail.com>
  • Loading branch information
10 people authored May 16, 2020
1 parent b70358f commit 5d16529
Show file tree
Hide file tree
Showing 30 changed files with 4,513 additions and 549 deletions.
16 changes: 16 additions & 0 deletions ckeditor5/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Configurations to normalize the IDE behavior.
# http://editorconfig.org/

root = true

[*]
indent_style = tab
tab_width = 4
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[package.json]
indent_style = space
tab_width = 2
12 changes: 12 additions & 0 deletions ckeditor5/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

/* eslint-env node */

'use strict';

module.exports = {
extends: 'ckeditor5'
};
18 changes: 18 additions & 0 deletions ckeditor5/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
* text=auto

*.htaccess eol=lf
*.cgi eol=lf
*.sh eol=lf

*.css text
*.htm text
*.html text
*.js text
*.json text
*.php text
*.txt text
*.md text

*.png -text
*.gif -text
*.jpg -text
9 changes: 9 additions & 0 deletions ckeditor5/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Suggested merge commit message ([convention](https://github.com/ckeditor/ckeditor5-design/wiki/Git-commit-message-convention))

Type: Message. Closes ckeditor/ckeditor5#000.

---

### Additional information

*For example – encountered issues, assumptions you had to make, other affected tickets, etc.*
3 changes: 3 additions & 0 deletions ckeditor5/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
package-lock.json
/build
3 changes: 3 additions & 0 deletions ckeditor5/.stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-ckeditor5"
}
29 changes: 29 additions & 0 deletions ckeditor5/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
sudo: required
dist: xenial
addons:
chrome: stable
firefox: latest
language: node_js
services:
- xvfb
node_js:
- '10'
cache:
yarn: true
branches:
except:
- stable
before_install:
- export START_TIME=$( date +%s )
- npm i -g yarn
install:
- yarn add @ckeditor/ckeditor5-dev-tests
- ckeditor5-dev-tests-install-dependencies
script:
- ckeditor5-dev-tests-travis
after_script:
- export END_TIME=$( date +%s )
- ckeditor5-dev-tests-notify-travis-status
env:
global:
- secure: Obx7ujsi5TOh0kAdxrCIj2osZF5efUsbDtEFx/fN80VyGQbMd8UHb2GCSutRwttlD0CSlU1AIKiqLb1jPXgAA5WnpVEzWuB32lDJJQcuISWB799PQiO58aHT/XQDPVwJbDJZPCBPTfJPb1Vpg1gk/m+pWhWY2OWXlwqhL5YwZK7iB7OOoY7bGIAmhEg58QndRu7K9sfVDUzNTW1ikbCGvdZ9Sle5oVaEh8ucv5kgwFq+P2wRp3D9k03lBhxFsg9iOHDly9sZewJU+uNHHFaGQjDB5RzQtwf2jmbg389IBOG7qoFTpBbnuZcMCeqY9hq2ZMJHqHAr3VdPWWmgpbFY5G8oyHIdjnQI2I6sDTfNjEYfeKou4LyNNEz25PvwgJ7ICa2CPkSzCCqQFWTk4Ww6N8zYyVZ/Ryl2vD8qasDGiVx+//rPluhItO0DnWNz8IQI8+PCib8se0MGGqxqhbtvBTZdpLcWN/5anXjqDCQMFRlTgAeednqeRhPvDnXEIEh7El86D5TehWnpX3Ws0goyX9e3UORnmKMKivtkCLRZsA/t4MhP/lxZiIoPpC5Yl/64X8F3M2bK9wPVyPLwfsiy/T7tjyDPTIA8ZWSv7k/YlQcnrS5qXTozzoqrbsbo75WLea/6Z70qcAWdKtqUkl6rfrm8W7iCAo6s5UTbIXbx6g8=
1,018 changes: 1,018 additions & 0 deletions ckeditor5/CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions ckeditor5/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Contributing
========================================

See the [official contributors' guide to CKEditor 5](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html) to learn more.
21 changes: 21 additions & 0 deletions ckeditor5/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Software License Agreement
==========================

**CKEditor 5 inline editor build**https://github.com/ckeditor/ckeditor5-build-inline <br>
Copyright (c) 2003-2020, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.

Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).

Sources of Intellectual Property Included in CKEditor
-----------------------------------------------------

Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.

The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):

* Lo-Dash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.

Trademarks
----------

**CKEditor** is a trademark of [CKSource](http://cksource.com) Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
72 changes: 72 additions & 0 deletions ckeditor5/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
CKEditor 5 inline editor build
==============================================

[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-build-inline.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-build-inline)
[![Build Status](https://travis-ci.org/ckeditor/ckeditor5-build-inline.svg?branch=master)](https://travis-ci.org/ckeditor/ckeditor5-build-inline)
<br>
[![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-build-inline/status.svg)](https://david-dm.org/ckeditor/ckeditor5-build-inline)
[![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-build-inline/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-build-inline?type=dev)

The inline editor build for CKEditor 5. Read more about the [inline editor build](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/overview.html#inline-editor) and see the [demo](https://ckeditor.com/docs/ckeditor5/latest/examples/builds/inline-editor.html).

![CKEditor 5 inline editor build screenshot](https://c.cksource.com/a/1/img/npm/ckeditor5-build-inline.png)

## Documentation

See:

* [Installation](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/installation.html) for how to install this package and what it contains.
* [Basic API](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/basic-api.html) for how to create an editor and interact with it.
* [Configuration](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/configuration.html) for how to configure the editor.
* [Creating custom builds](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/custom-builds.html) for how to customize the build (configure and rebuild the editor bundle).

## Quick start

First, install the build from npm:

```bash
npm install --save @ckeditor/ckeditor5-build-inline
```

And use it in your website:

```html
<div id="editor">
<p>This is the editor content.</p>
</div>
<script src="./node_modules/@ckeditor/ckeditor5-build-inline/build/ckeditor.js"></script>
<script>
InlineEditor
.create( document.querySelector( '#editor' ) )
.then( editor => {
window.editor = editor;
} )
.catch( error => {
console.error( 'There was a problem initializing the editor.', error );
} );
</script>
```

Or in your JavaScript application:

```js
import InlineEditor from '@ckeditor/ckeditor5-build-inline';

// Or using the CommonJS version:
// const InlineEditor = require( '@ckeditor/ckeditor5-build-inline' );

InlineEditor
.create( document.querySelector( '#editor' ) )
.then( editor => {
window.editor = editor;
} )
.catch( error => {
console.error( 'There was a problem initializing the editor.', error );
} );
```

**Note:** If you are planning to integrate CKEditor 5 deep into your application, it is actually more convenient and recommended to install and import the source modules directly (like it happens in `ckeditor.js`). Read more in the [Advanced setup guide](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/advanced-setup.html).

## License

Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).
102 changes: 102 additions & 0 deletions ckeditor5/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"name": "@daishi/ckeditor5-build-inline-custom",
"version": "19.0.0-custom.4",
"description": "The inline editor build of CKEditor 5 – the best browser-based rich text editor.",
"keywords": [
"ckeditor5-build",
"ckeditor",
"ckeditor5",
"ckeditor 5",
"wysiwyg",
"rich text",
"editor",
"html",
"contentEditable",
"editing",
"operational transformation",
"ot",
"collaboration",
"collaborative",
"real-time",
"framework"
],
"main": "./build/ckeditor.js",
"files": [
"build"
],
"devDependencies": {
"@ckeditor/ckeditor5-adapter-ckfinder": "^19.0.0",
"@ckeditor/ckeditor5-autoformat": "^19.0.0",
"@ckeditor/ckeditor5-basic-styles": "^19.0.0",
"@ckeditor/ckeditor5-block-quote": "^19.0.0",
"@ckeditor/ckeditor5-ckfinder": "^19.0.0",
"@ckeditor/ckeditor5-core": "^19.0.0",
"@ckeditor/ckeditor5-dev-utils": "^13.0.0",
"@ckeditor/ckeditor5-dev-webpack-plugin": "^9.0.0",
"@ckeditor/ckeditor5-easy-image": "^19.0.0",
"@ckeditor/ckeditor5-editor-inline": "^19.0.0",
"@ckeditor/ckeditor5-essentials": "^19.0.0",
"@ckeditor/ckeditor5-heading": "^19.0.0",
"@ckeditor/ckeditor5-image": "^19.0.0",
"@ckeditor/ckeditor5-indent": "^19.0.0",
"@ckeditor/ckeditor5-link": "^19.0.0",
"@ckeditor/ckeditor5-list": "^19.0.0",
"@ckeditor/ckeditor5-media-embed": "^19.0.0",
"@ckeditor/ckeditor5-paragraph": "^19.0.0",
"@ckeditor/ckeditor5-paste-from-office": "^19.0.0",
"@ckeditor/ckeditor5-special-characters": "^19.0.0",
"@ckeditor/ckeditor5-table": "^19.0.0",
"@ckeditor/ckeditor5-theme-lark": "^19.0.0",
"@ckeditor/ckeditor5-typing": "^19.0.0",
"@ckeditor/ckeditor5-ui": "^19.0.0",
"@ckeditor/ckeditor5-upload": "^19.0.0",
"eslint": "^5.5.0",
"eslint-config-ckeditor5": "^2.0.0",
"husky": "^1.3.1",
"lint-staged": "^7.0.0",
"postcss-loader": "^3.0.0",
"raw-loader": "^3.1.0",
"style-loader": "^1.0.0",
"stylelint": "^11.1.1",
"stylelint-config-ckeditor5": "^1.0.0",
"terser-webpack-plugin": "^2.2.1",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6"
},
"engines": {
"node": ">=8.0.0",
"npm": ">=5.7.1"
},
"author": "CKSource (http://cksource.com/)",
"license": "GPL-2.0-or-later",
"homepage": "https://ckeditor.com/ckeditor-5",
"bugs": "https://github.com/ckeditor/ckeditor5/issues",
"repository": {
"type": "git",
"url": "https://github.com/ckeditor/ckeditor5-build-inline.git"
},
"scripts": {
"build": "webpack --mode production",
"test": "npm run lint",
"lint": "eslint --quiet '**/*.js'",
"stylelint": "stylelint --quiet --allow-empty-input 'theme/**/*.css' 'docs/**/*.css'",
"preversion": "npm run build; if [ -n \"$(git status src/ckeditor.js build/ --porcelain)\" ]; then git add -u src/ckeditor.js build/ && git commit -m 'Internal: Build.'; fi"
},
"lint-staged": {
"**/*.js": [
"eslint --quiet"
],
"**/*.css": [
"stylelint --quiet --allow-empty-input"
]
},
"eslintIgnore": [
"build/**",
"packages/**"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}
41 changes: 41 additions & 0 deletions ckeditor5/sample/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CKEditor 5 – inline editor build – development sample</title>
<style>
body {
max-width: 800px;
margin: 20px auto;
}
</style>
</head>
<body>

<h1>CKEditor 5 – inline editor build – development sample</h1>

<div id="editor">
<h2>Sample</h2>

<p>This is an instance of the <a href="https://ckeditor.com/docs/ckeditor5/latest/builds/guides/overview.html#inline-editor">inline editor build</a>.</p>

<figure class="image">
<img src="../tests/manual/sample.jpg" alt="Autumn fields" />
</figure>

<p>You can use this sample to validate whether your <a href="https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/custom-builds.html">custom build</a> works fine.</p>
</div>

<script src="../build/ckeditor.js"></script>
<script>
InlineEditor.create( document.querySelector( '#editor' ) )
.then( editor => {
window.editor = editor;
} )
.catch( error => {
console.error( 'There was a problem initializing the editor.', error );
} );
</script>

</body>
</html>
Loading

0 comments on commit 5d16529

Please sign in to comment.