Version: 2.9.2 Reporter: Quinn Chrzan —
This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report
When deleting all of the rows in a grid field in Channel Forms all of the grid input fields get removed from the form. Upon submit there is no POST value for the grid field so Channel_form_lib doesn’t call out to the Grid field type and the rows never get deleted. You can replicate with this template:
{exp:channel:form channel="news" return="news/{segment_2}" entry_id="{segment_2}"}
{field:grid_field}
<input type="submit" name="submit" value="Submit">
{/exp:channel:form}
Add the following line to the beginning of system/expressionengine/fieldtypes/grid/views/publish.php:
<code><input type="hidden" name="<?=$field_id?>" value="placeholder"/></code>
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```