Skip to content

Commit

Permalink
съехали контролы ресайза при изменении размера шрифта
Browse files Browse the repository at this point in the history
  • Loading branch information
Katochimoto committed Oct 9, 2015
1 parent 51e1d0e commit a4b1c39
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ckeditor-imgresize",
"version": "1.0.13",
"version": "1.0.14",
"main": [
"plugin.js"
],
Expand All @@ -13,7 +13,7 @@
"package.json",
"karma.conf.js"
],
"homepage": "http://katochimoto.github.io/ckeditor-imgresize/",
"homepage": "http://yandex-ui.github.io/ckeditor-imgresize/",
"authors": [
{
"name": "Rikishi",
Expand All @@ -32,7 +32,7 @@
],
"repository": {
"type": "git",
"url": "git://github.com/Katochimoto/ckeditor-imgresize.git"
"url": "git://github.com/yandex-ui/ckeditor-imgresize.git"
},
"license": "MIT"
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ckeditor-imgresize",
"version": "1.0.13",
"version": "1.0.14",
"description": "CKEditor dragable image resizing with support divarea",
"keywords": [
"ckeditor",
Expand All @@ -20,18 +20,18 @@
"url": "https://github.com/Katochimoto"
},
"bugs": {
"url": "https://github.com/Katochimoto/ckeditor-imgresize/issues",
"url": "https://github.com/yandex-ui/ckeditor-imgresize/issues",
"email": "bufpost@yandex.ru"
},
"repository": {
"type": "git",
"url": "git://github.com/Katochimoto/ckeditor-imgresize.git"
"url": "git://github.com/yandex-ui/ckeditor-imgresize.git"
},
"devDependencies": {
"vow": "0.4.10",
"lodash": "3.10.1",
"ckeditor": "git://github.com/Katochimoto/ckeditor.git"
"ckeditor": "yandex-ui/ckeditor.git"
},
"homepage": "http://katochimoto.github.io/ckeditor-imgresize/",
"homepage": "http://yandex-ui.github.io/ckeditor-imgresize/",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'.cke_imgresize_wrapper > img::selection {color:rgba(0,0,0,0);}' +
'.cke_imgresize_wrapper > img {outline:1px solid #000;border:none;}' +

'.cke_imgresize_wrapper {position:relative;display:inline-block;outline:none;}' +
'.cke_imgresize_wrapper {position:relative;display:inline-block;outline:none;font-size:1px;}' +
'.cke_imgresize_controls > i {visibility:visible;position:absolute;display:block;width:5px;height:5px;background:#fff;border:1px solid #000;}' +
'.cke_imgresize_controls > i.active, .cke_imgresize_controls > i:hover {background:#000;}' +
'.cke_imgresize_br, .cke_imgresize_tl {cursor:nwse-resize;}' +
Expand Down
1 change: 1 addition & 0 deletions samples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<script src="../node_modules/lodash/index.js"></script>
<script src="../node_modules/vow/vow.min.js"></script>
<script src="../node_modules/ckeditor/dist/ckeditor-full.js"></script>
<script>delete CKEDITOR.plugins.registered[ 'imgresize' ];</script>
<script src="../plugin.js"></script>
</head>
<body>
Expand Down

0 comments on commit a4b1c39

Please sign in to comment.