1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00

markdown edge-case

This commit is contained in:
Harvey Kandola 2016-10-29 16:21:37 -07:00
parent 991b1a2740
commit 9d2f0cb0ba
4 changed files with 596 additions and 593 deletions

View file

@ -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;
},

View file

@ -47,6 +47,7 @@ export default Ember.Service.extend({
allowAnonymousAccess: true,
setupMode: true
});
this.get('localStorage').clearAll();
return resolve(this);

View file

@ -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.

File diff suppressed because one or more lines are too long