provide editor settings
This commit is contained in:
parent
9638bf2b1e
commit
8efa103041
@ -31,7 +31,7 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#profile-jot-reset {
|
||||
#profile-jot-tools {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
|
@ -7,7 +7,7 @@ var pretext = '{{$pretext}}';
|
||||
function initEditor(cb){
|
||||
if(editor == false){
|
||||
$("#profile-jot-text-loading").show();
|
||||
$("#profile-jot-reset").removeClass('d-none');
|
||||
$("#profile-jot-tools").removeClass('d-none');
|
||||
{{$geotag}}
|
||||
if(plaintext == 'none') {
|
||||
$("#profile-jot-text-loading").hide();
|
||||
@ -308,7 +308,7 @@ var activeCommentText = '';
|
||||
{{if $reset}}
|
||||
$(".jothidden").hide();
|
||||
$("#profile-jot-text").removeClass('jot-expanded');
|
||||
$("#profile-jot-reset").addClass('d-none');
|
||||
$("#profile-jot-tools").addClass('d-none');
|
||||
$("#jot-preview-content").html('').hide();
|
||||
editor = false;
|
||||
{{else}}
|
||||
|
@ -42,11 +42,14 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
<div id="jot-text-wrap">
|
||||
{{if $reset}}
|
||||
<button id="profile-jot-reset" class="btn btn-outline-secondary btn-sm d-none border-0" title="{{$reset}}" onclick="itemCancel(); return false;">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
{{/if}}
|
||||
<div id="profile-jot-tools" class="btn-group d-none">
|
||||
<a id="profile-jot-settings" class="btn btn-outline-secondary btn-sm border-0" href="/settings/editor/?f=&rpath=/{{$return_path}}"><i class="fa fa-cog"></i></a>
|
||||
{{if $reset}}
|
||||
<button id="profile-jot-reset" class="btn btn-outline-secondary btn-sm border-0" title="{{$reset}}" onclick="itemCancel(); return false;">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
<textarea class="profile-jot-text" id="profile-jot-text" name="body" tabindex="2" placeholder="{{$placeholdtext}}" >{{$content}}</textarea>
|
||||
</div>
|
||||
{{if $attachment}}
|
||||
|
Reference in New Issue
Block a user