Browse Source

adding alt text for banner image

main
jk 1 year ago
parent
commit
c376ba3891
  1. 1
      public/editor-files/editor.js
  2. 4
      views/editor.php

1
public/editor-files/editor.js

@ -78,6 +78,7 @@ $(function() {
name: $("#post-name").val(),
description: $("#post-description").val(),
image: $("#post-image").val(),
image: $("#post-imagealt").val(),
body: editor.serialize().content.value,
category: category,
slug: $("#post-slug").val(),

4
views/editor.php

@ -129,10 +129,6 @@
<input id="post-image" type="text" value="" placeholder="Banner Image">
<input id="post-imagealt" type="text" value="" placeholder="Banner Image Alt. Text">
<div id="content" class="editable"></div>
<span style="font-size:18px">Syndicate? </span><select id="post-syndicate" class="form-select-small">
<option value="no">No</option>
<option value="yes">Yes</option>
</select>
</div>
<script src="/editor-files/editor.js"></script>

Loading…
Cancel
Save