Extend CKE Editor with Tables

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
mantik
Posts: 89
Joined: 23 Oct 2017, 05:56

Extend CKE Editor with Tables

Post by mantik » 20 Dec 2018, 12:08

Hello how can i add Table options to the CKE Editor. Ad this to TSconfig :RTE.default.preset = full

dosent help - but i get it in the pagemodul.

i try also this:
typo3conf/ext/my_aimeos/Resources/Private/Extensions/my_aimeos/admin/jqadm/themes/custom.js

Code: Select all

Aimeos.editorcfg.push({name:'contentToolbar', items: [ 'tableColumn', 'tableRow', 'mergeTableCells' ]});
also dosent help

User avatar
aimeos
Administrator
Posts: 7865
Joined: 01 Jan 1970, 00:00

Re: Extend CKE Editor with Tables

Post by aimeos » 21 Dec 2018, 14:00

You have to specify the whole config I guess:

Code: Select all

Aimeos.editorcfg = [
		{ name: 'clipboard', items: [ 'Undo', 'Redo' ] },
		{ name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] },
		{ name: 'basicstyles', items: [ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'RemoveFormat' ] },
		{ name: 'insert', items: [ 'Image', 'SpecialChar' ] },
		{ name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Blockquote' ] },
		{ name: 'styles', items: [ 'Format' ] },
		{ name: 'document', items: [ 'Source' ] },
		{ name: 'tools', items: [ 'Maximize' ] },
		{ name: 'tables', items: ['Table'] }
	],
Here you can find the supported options: https://ckeditor.com/latest/samples/old ... olbar.html
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply