', {class: ppfx + 'badge'}).get(0);
@@ -365,7 +366,53 @@ module.exports = Backbone.View.extend({
toolsEl.appendChild(this.resizerEl);
toolsEl.appendChild(this.offsetEl);
toolsEl.appendChild(this.fixedOffsetEl);
+ */
+ var toolsEl = $(`
`).get(0);
+ this.hlEl = $(`
`).get(0);
+ this.badgeEl = $(`
`).get(0);
+ this.placerEl = $(`
`).get(0);
+ this.placerIntEl = $(`
`).get(0);
+ this.ghostEl = $(`
`).get(0);
+ this.toolbarEl = $(`
`).get(0);
+ this.resizerEl = $(`
`).get(0);
+ this.offsetEl = $(`
`).get(0);
+ this.fixedOffsetEl = $(`
`).get(0);
+ this.placerEl.appendChild(this.placerIntEl);
+ toolsEl.appendChild(this.hlEl);
+ toolsEl.appendChild(this.badgeEl);
+ toolsEl.appendChild(this.placerEl);
+ toolsEl.appendChild(this.ghostEl);
+ toolsEl.appendChild(this.toolbarEl);
+ toolsEl.appendChild(this.resizerEl);
+ toolsEl.appendChild(this.offsetEl);
+ toolsEl.appendChild(this.fixedOffsetEl);
this.$el.append(toolsEl);
+ /*
+ this.$el.append(`
+
+ `);
+ const el = this.el;
+ const toolsEl = el.querySelector(`#${ppfx}tools`);
+ this.hlEl = el.querySelector(`.${ppfx}highlighter`);
+ this.badgeEl = el.querySelector(`.${ppfx}badge`);
+ this.placerEl = el.querySelector(`.${ppfx}placeholder`);
+ this.ghostEl = el.querySelector(`.${ppfx}ghost`);
+ this.toolbarEl = el.querySelector(`.${ppfx}toolbar`);
+ this.resizerEl = el.querySelector(`.${ppfx}resizer`);
+ this.offsetEl = el.querySelector(`.${ppfx}offset-v`);
+ this.fixedOffsetEl = el.querySelector(`.${ppfx}offset-fixed-v`);
+ */
var rte = this.em.get('rte');
if(rte)