Skip to content

Commit

Permalink
Merge pull request #1 from DiligenceVault/footnote-as-superscript
Browse files Browse the repository at this point in the history
show footnote as supersript and the content in the tooltip
  • Loading branch information
minalkumar2893 authored Jun 3, 2021
2 parents 5123a05 + beb73c5 commit d3f303c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tinymce4.x/footnotes/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tinymce.PluginManager.add('footnotes', function(editor) {
fixFootnoteContent = (function () {
return encodeURIComponent(newfootnoteContent);
}()),
htmlTemplate = '<span class="fnoteWrap" id="#wk_ft{FOOTNOTE_INDEX}" contenteditable="false"><button type="button" class="fnoteBtn" data-content="'+fixFootnoteContent+'">{FOOTNOTE_INDEX}</button></span>&nbsp;',
htmlTemplate = '<span class="fnoteWrap" id="#wk_ft{FOOTNOTE_INDEX}" contenteditable="false"><sup class="fnoteBtn" title="'+newfootnoteContent+'" data-content="'+fixFootnoteContent+'">{FOOTNOTE_INDEX}</sup></span>&nbsp;',
totalFootNote = editor.getDoc().querySelectorAll('.fnoteBtn'),
totalCount = totalFootNote.length,
html;
Expand Down
2 changes: 1 addition & 1 deletion tinymce4.x/footnotes/plugin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d3f303c

Please sign in to comment.