mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
markdown edge-case
This commit is contained in:
parent
991b1a2740
commit
9d2f0cb0ba
4 changed files with 596 additions and 593 deletions
|
@ -54,7 +54,9 @@ export default Ember.Component.extend({
|
|||
actions: {
|
||||
onInsertLink(link) {
|
||||
let linkMarkdown = this.get('link').buildLink(link);
|
||||
|
||||
miscUtil.insertAtCursor($("#section-markdown-editor")[0], linkMarkdown);
|
||||
this.set('pageBody', $("#section-markdown-editor").val());
|
||||
|
||||
return true;
|
||||
},
|
||||
|
|
|
@ -47,6 +47,7 @@ export default Ember.Service.extend({
|
|||
allowAnonymousAccess: true,
|
||||
setupMode: true
|
||||
});
|
||||
|
||||
this.get('localStorage').clearAll();
|
||||
|
||||
return resolve(this);
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<div class="input-control">
|
||||
<label>Search</label>
|
||||
<div class="tip">For content or attachments</div>
|
||||
{{focus-input id="content-linker-search" type="input" value=keywords placeholder="keyword search"}}
|
||||
{{focus-input id="content-linker-search" type="input" value=keywords placeholder="keyword search" autocomplete="off"}}
|
||||
</div>
|
||||
{{#unless hasMatches}}
|
||||
Nothing found.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue