# TableLayoutConfig

interface

The configuration of the table layout feature.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-table/src/tableconfig.ts#L686)

<a id="properties">

## Properties

<a id="member-preferredExternalTableType">

### `preferredExternalTableType: TableType`

Sets the preferred type for loading external tables.

This setting overrides the default detection method and uses the specified type ('content' or 'layout').

```typescript
ClassicEditor
	.create( {
		table: {
			tableLayout: {
				preferredExternalTableType: 'content' // or 'layout'
			}
		}
	} )
	.then( ... )
	.catch( ... );
```

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-table/src/tableconfig.ts#L706)

<a id="member-stripFigureFromContentTable">

### `stripFigureFromContentTable?: boolean`

When set to `true`, the editor strips the `<figure>` tag from the table data with the "content" type.

```typescript
ClassicEditor
	.create( {
		table: {
			tableLayout: {
				stripFigureFromContentTable: true // or false
			}
		}
	} )
	.then( ... )
	.catch( ... );
```

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-table/src/tableconfig.ts#L726)

Defaults to `false`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
