How to add a full edit link?
-
I would like to add a full edit button to the front-edit editor plugin, like:
It’s currently like this:
[EDIT] Text text text
I would like to make it like:
[EDIT] Text text text (enables front-end editor)
[FULL EDIT] Text Text Text (goes to the back-end editor)I think this is the current code for the [EDIT] button:
wp-content/plugins/front-end-editor/build/edito.min.js
base.prototype.pre_edit_button = function() { var _this = this; return jQuery('<button>', { 'class': 'fee-hover-edit', 'html': FrontEndEditor.data.edit_text, 'click': function(ev) { _this.last_mouse_pos = ev.pageY; return _this.start_editing(); } });
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to add a full edit link?’ is closed to new replies.