Skip to content

Commit a4b1c39

Browse files
author
Katochimoto
committed
съехали контролы ресайза при изменении размера шрифта
1 parent 51e1d0e commit a4b1c39

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ckeditor-imgresize",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"main": [
55
"plugin.js"
66
],
@@ -13,7 +13,7 @@
1313
"package.json",
1414
"karma.conf.js"
1515
],
16-
"homepage": "http://katochimoto.github.io/ckeditor-imgresize/",
16+
"homepage": "http://yandex-ui.github.io/ckeditor-imgresize/",
1717
"authors": [
1818
{
1919
"name": "Rikishi",
@@ -32,7 +32,7 @@
3232
],
3333
"repository": {
3434
"type": "git",
35-
"url": "git://github.com/Katochimoto/ckeditor-imgresize.git"
35+
"url": "git://github.com/yandex-ui/ckeditor-imgresize.git"
3636
},
3737
"license": "MIT"
3838
}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ckeditor-imgresize",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"description": "CKEditor dragable image resizing with support divarea",
55
"keywords": [
66
"ckeditor",
@@ -20,18 +20,18 @@
2020
"url": "https://github.com/Katochimoto"
2121
},
2222
"bugs": {
23-
"url": "https://github.com/Katochimoto/ckeditor-imgresize/issues",
23+
"url": "https://github.com/yandex-ui/ckeditor-imgresize/issues",
2424
"email": "bufpost@yandex.ru"
2525
},
2626
"repository": {
2727
"type": "git",
28-
"url": "git://github.com/Katochimoto/ckeditor-imgresize.git"
28+
"url": "git://github.com/yandex-ui/ckeditor-imgresize.git"
2929
},
3030
"devDependencies": {
3131
"vow": "0.4.10",
3232
"lodash": "3.10.1",
33-
"ckeditor": "git://github.com/Katochimoto/ckeditor.git"
33+
"ckeditor": "yandex-ui/ckeditor.git"
3434
},
35-
"homepage": "http://katochimoto.github.io/ckeditor-imgresize/",
35+
"homepage": "http://yandex-ui.github.io/ckeditor-imgresize/",
3636
"license": "MIT"
3737
}

plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
'.cke_imgresize_wrapper > img::selection {color:rgba(0,0,0,0);}' +
1616
'.cke_imgresize_wrapper > img {outline:1px solid #000;border:none;}' +
1717

18-
'.cke_imgresize_wrapper {position:relative;display:inline-block;outline:none;}' +
18+
'.cke_imgresize_wrapper {position:relative;display:inline-block;outline:none;font-size:1px;}' +
1919
'.cke_imgresize_controls > i {visibility:visible;position:absolute;display:block;width:5px;height:5px;background:#fff;border:1px solid #000;}' +
2020
'.cke_imgresize_controls > i.active, .cke_imgresize_controls > i:hover {background:#000;}' +
2121
'.cke_imgresize_br, .cke_imgresize_tl {cursor:nwse-resize;}' +

samples/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<script src="../node_modules/lodash/index.js"></script>
1111
<script src="../node_modules/vow/vow.min.js"></script>
1212
<script src="../node_modules/ckeditor/dist/ckeditor-full.js"></script>
13+
<script>delete CKEDITOR.plugins.registered[ 'imgresize' ];</script>
1314
<script src="../plugin.js"></script>
1415
</head>
1516
<body>

0 commit comments

Comments
 (0)