newCellInners

Availability: >= 3.0

Type: Object Property

Description: Sets the default innerHTML for new table cells.

Syntax:

$editor->newCellInners string $html

When the editor generates a new table or inserts a new table row or table column this property allows you to specify what the default content of those new cells should be.

By default this value depends on the lineReturns property. If it is set to 'P' then the default is:

'

 

'

If it is set to DIV then the default is:

'

 
'

Example:

A single white space to ensure that the table cell has layout:

$editor->newCellInners ' ';

Example: Empty table cells, this may make the cells difficult to edit in certain browsers:

$editor->newCellInners '';