Version: 2.11.9 Reporter: monstersedge —
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
Same issue in both FF and Chrome (tested so far) where I cannot paste text into a richtext field when using the Channel Form tag. In the console I can see the following JS error: TypeError: e.browser is undefined
The tag code is below:
{exp:channel:form id="channel-form" channel="news" status="Pending" error_handling="inline" include_assets="yes" return="my-profile/articles/created/ENTRY_ID" rte_selector=".richtext"} <input type=”hidden” name=”status” value=”Pending” /> <input type=”hidden” name=”article_author” value=”Sponsor” />
<div class=”row form-group”> <div class=”col-sm-12”> <label>Article Title</label> <input type=”text” name=”title” id=”title” value=”” class=”form-control”/> </div> <input type=”hidden” name=”entry_date” id=”entry_date” value=”{current_time format="%m/%d/%Y"}”/> </div>
<div class=”row form-group”> <div class=”col-sm-12”> <label>Article Main Body</label> <textarea class=”form-control richtext” rows=”10” name=”article_body” id=”article_body”></textarea> </div> </div>
<div class=”row form-group”> <div class=”col-sm-6”> <label>Article Image <small>(with dimensions of 680 x 400px)</small></label> {field:article_image_sponsor} </div> </div>
<div class=”row”> <div class=”col-sm-12”> <button type=”submit” class=”btn btn-primary”>Submit article for review</button> </div> </div>
{/exp:channel:form}
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); } ```