Added the table feature to the build.

parent 085c2cdf
...@@ -37,6 +37,8 @@ module.exports = { ...@@ -37,6 +37,8 @@ module.exports = {
'@ckeditor/ckeditor5-link/src/link', '@ckeditor/ckeditor5-link/src/link',
'@ckeditor/ckeditor5-list/src/list', '@ckeditor/ckeditor5-list/src/list',
'@ckeditor/ckeditor5-paragraph/src/paragraph', '@ckeditor/ckeditor5-paragraph/src/paragraph',
'@ckeditor/ckeditor5-table/src/table',
'@ckeditor/ckeditor5-table/src/tabletoolbar'
], ],
// Editor config. // Editor config.
...@@ -62,6 +64,7 @@ module.exports = { ...@@ -62,6 +64,7 @@ module.exports = {
'link', 'link',
'blockquote', 'blockquote',
'imageUpload', 'imageUpload',
'insertTable',
'|', '|',
'undo', 'undo',
'redo' 'redo'
...@@ -77,6 +80,10 @@ module.exports = { ...@@ -77,6 +80,10 @@ module.exports = {
toolbar: [ 'imageStyle:alignLeft', 'imageStyle:full', 'imageStyle:alignRight', '|', 'imageTextAlternative' ] toolbar: [ 'imageStyle:alignLeft', 'imageStyle:full', 'imageStyle:alignRight', '|', 'imageTextAlternative' ]
}, },
table: {
toolbar: [ 'tableColumn', 'tableRow', 'mergeCell' ]
},
// UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format. // UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.
language: 'en' language: 'en'
} }
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"@ckeditor/ckeditor5-paragraph": "^10.0.0", "@ckeditor/ckeditor5-paragraph": "^10.0.0",
"@ckeditor/ckeditor5-theme-lark": "^10.0.0", "@ckeditor/ckeditor5-theme-lark": "^10.0.0",
"@ckeditor/ckeditor5-upload": "^10.0.0", "@ckeditor/ckeditor5-upload": "^10.0.0",
"@ckeditor/ckeditor5-table": "^0.0.1",
"babel-minify-webpack-plugin": "^0.3.0", "babel-minify-webpack-plugin": "^0.3.0",
"postcss-loader": "^2.0.10", "postcss-loader": "^2.0.10",
"raw-loader": "^0.5.1", "raw-loader": "^0.5.1",
......
...@@ -42,6 +42,29 @@ ...@@ -42,6 +42,29 @@
<p>It has <em>bugs</em> that we are aware of &mdash; and that we will be working on in the next few <p>It has <em>bugs</em> that we are aware of &mdash; and that we will be working on in the next few
iterations of the project. Stay tuned for some updates soon!</p> iterations of the project. Stay tuned for some updates soon!</p>
<table>
<thead>
<tr>
<th>Version</th>
<th>Release date</th>
</tr>
</thead>
<tbody>
<tr>
<td>10.0.1</td>
<td>May 22, 2018</td>
</tr>
<tr>
<td>10.0.0</td>
<td>April 25, 2018</td>
</tr>
<tr>
<td>10.0.0-beta.2</td>
<td>April 10, 2018</td>
</tr>
</tbody>
</table>
</div> </div>
</div> </div>
...@@ -63,7 +86,7 @@ ...@@ -63,7 +86,7 @@
max-height: 500px; max-height: 500px;
} }
.editable-container .ck-editor__editable { .editable-container > .ck-editor__editable {
min-height: 21cm; min-height: 21cm;
padding: 2em; padding: 2em;
border: 1px #D3D3D3 solid; border: 1px #D3D3D3 solid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment