New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ghost-editor

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghost-editor - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

8

addon/components/ghost-toolbar.js

@@ -105,4 +105,8 @@ import Ember from 'ember';

self.set('isVisible', true);
$holder.css('top', position.top + $editor.scrollTop() - $holder.height()-20); //- edOffset.top+10
$holder.css('left', position.left + (position.width / 2) + $editor.scrollLeft() - edOffset.left - ($holder.width()/2));
Ember.run.schedule('afterRender', this,
() => {
$holder.css('top', position.top + $editor.scrollTop() - $holder.height()-20); //- edOffset.top+10
$holder.css('left', position.left + (position.width / 2) + $editor.scrollLeft() - edOffset.left - ($holder.width()/2));
}
);

@@ -109,0 +113,0 @@ self.set('isLink', false);

@@ -83,18 +83,18 @@ import Ember from 'ember';

},
// {
// name: "pullquote",
// label: 'Pull Quote',
// icon: "pullquote.svg",
// selected: false,
// type: 'block',
// onClick: (editor) => {
// editor.run(postEditor => {
// postEditor.toggleSection('pull-quote');
// });
// },
// checkElements: function (elements) {
// Ember.set(this, "selected", elements.filter(element => element.tagName === 'pull-quote').length > 0);
// }
// },
{
name: "pullquote",
label: 'Pull Quote',
icon: "pullquote.svg",
selected: false,
type: 'block',
onClick: (editor) => {
editor.run(postEditor => {
postEditor.toggleSection('pull-quote');
});
},
checkElements: function (elements) {
Ember.set(this, "selected", elements.filter(element => element.tagName === 'pull-quote').length > 0);
}
},
{
name: "ul",

@@ -101,0 +101,0 @@ label: "List Unordered",

{
"name": "ghost-editor",
"version": "0.1.9",
"version": "0.1.10",
"description": "A mobiledoc-kit based editor for Ghost. WARNING DO NOT USE!",

@@ -5,0 +5,0 @@ "directories": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc