Merge pull request #826 from andi1984/issue-612-rtl

fix: RTL support on post textarea
pull/861/head
Matt Baer 10 months ago committed by GitHub
commit ff84c7aa4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      templates/bare.tmpl
  2. 2
      templates/pad.tmpl

@ -14,7 +14,7 @@
<div id="overlay"></div>
<textarea id="writer" placeholder="Write..." class="{{.Post.Font}}" autofocus>{{if .Post.Title}}# {{.Post.Title}}
<textarea dir="auto" id="writer" placeholder="Write..." class="{{.Post.Font}}" autofocus>{{if .Post.Title}}# {{.Post.Title}}
{{end}}{{.Post.Content}}</textarea>

@ -14,7 +14,7 @@
<div id="overlay"></div>
<textarea id="writer" placeholder="Write..." class="{{.Post.Font}}" autofocus>{{if .Post.Title}}# {{.Post.Title}}
<textarea dir="auto" id="writer" placeholder="Write..." class="{{.Post.Font}}" autofocus>{{if .Post.Title}}# {{.Post.Title}}
{{end}}{{.Post.Content}}</textarea>

Loading…
Cancel
Save