Skip to content

Commit

Permalink
Add extensibility point for d-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
eviltrout committed Jan 3, 2018
1 parent c2c0a81 commit a109397
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
@@ -1,20 +1,22 @@
{{d-editor tabindex="4" {{d-editor
value=composer.reply tabindex="4"
placeholder="composer.reply_placeholder" value=composer.reply
previewUpdated="previewUpdated" placeholder="composer.reply_placeholder"
markdownOptions=markdownOptions previewUpdated="previewUpdated"
extraButtons="extraButtons" markdownOptions=markdownOptions
importQuote="importQuote" extraButtons="extraButtons"
showUploadModal="showUploadModal" importQuote="importQuote"
togglePreview="togglePreview" showUploadModal="showUploadModal"
validation=validation togglePreview="togglePreview"
loading=composer.loading validation=validation
forcePreview=forcePreview loading=composer.loading
composerEvents=true forcePreview=forcePreview
onExpandPopupMenuOptions="onExpandPopupMenuOptions" composerEvents=true
onPopupMenuAction=onPopupMenuAction onExpandPopupMenuOptions="onExpandPopupMenuOptions"
popupMenuOptions=popupMenuOptions}} onPopupMenuAction=onPopupMenuAction
popupMenuOptions=popupMenuOptions
outletArgs=(hash composer=composer editorType="composer")}}


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


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


Expand Down

0 comments on commit a109397

Please sign in to comment.