XF 2.3 custom editor with draft functionality.

dsick

Member
can someone explain how the drafts work, I'm trying to implement that feature in an addon.

the draft url in this example is custom_submission/draft and the way I'm thinking is I would need a controller for that? or is there already a controller I should extend,

HTML:
<xf:form action="{{link('custom-submission/confirm', $ssubmissionId)}}" class="block"
draft="{{link('custom-submission/draft')}}" >
<xf:editorrow
name="rbl_submission"
value="{$verse}"
class="input js-editor u-jsOnly"
id="rbl_submission"
value="{$verse}"
label="Submission"
autosave="true"
rowtype="fullWidth noLabel"
data-min-height=""

/>
</xf:form>
 
Top Bottom