Permalink
Browse files

Add extensibility point for d-editor

  • Loading branch information...
eviltrout committed Jan 3, 2018
1 parent c2c0a81 commit a10939703542162878ce4528592374b56cd177b9
@@ -1,20 +1,22 @@
{{d-editor tabindex="4"
value=composer.reply
placeholder="composer.reply_placeholder"
previewUpdated="previewUpdated"
markdownOptions=markdownOptions
extraButtons="extraButtons"
importQuote="importQuote"
showUploadModal="showUploadModal"
togglePreview="togglePreview"
validation=validation
loading=composer.loading
forcePreview=forcePreview
composerEvents=true
onExpandPopupMenuOptions="onExpandPopupMenuOptions"
onPopupMenuAction=onPopupMenuAction
popupMenuOptions=popupMenuOptions}}
{{d-editor
tabindex="4"
value=composer.reply
placeholder="composer.reply_placeholder"
previewUpdated="previewUpdated"
markdownOptions=markdownOptions
extraButtons="extraButtons"
importQuote="importQuote"
showUploadModal="showUploadModal"
togglePreview="togglePreview"
validation=validation
loading=composer.loading
forcePreview=forcePreview
composerEvents=true
onExpandPopupMenuOptions="onExpandPopupMenuOptions"
onPopupMenuAction=onPopupMenuAction
popupMenuOptions=popupMenuOptions
outletArgs=(hash composer=composer editorType="composer")}}

{{#if site.mobileView}}
<input type="file" id="mobile-uploader" multiple />
<input type="file" id="mobile-uploader" multiple>
{{/if}}
@@ -41,13 +41,14 @@
{{conditional-loading-spinner condition=loading}}
{{textarea tabindex=tabindex value=value class="d-editor-input" placeholder=placeholderTranslated}}
{{popup-input-tip validation=validation}}
{{plugin-outlet name="after-d-editor" tagName="" args=outletArgs}}
</div>

<div class="d-editor-preview-wrapper {{if forcePreview 'force-preview'}}">
<div class="d-editor-preview">
{{{preview}}}
</div>
{{plugin-outlet name="editor-preview" classNames="d-editor-plugin"}}
{{plugin-outlet name="editor-preview" classNames="d-editor-plugin"}}
</div>
</div>

0 comments on commit a109397

Please sign in to comment.