ponkotsu-md-editor 0.1.36 → 0.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/markdown_editor.js +2 -0
- data/lib/ponkotsu/md/editor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 636ded655ab01cbfaca8f174d1fbac9746b8034a25629ad3aeb99b09b1b2c78b
|
|
4
|
+
data.tar.gz: db6cf97fcc700103909a41d0dae0f30cd183a873d725e889f808145ef008a44e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 543de8b6a2c243dafec155dcc7545a90199688e4b9bb2bb791fb5f1034bb259d84db1196e1d8396eb1bba947148159eeb71ba98d0e76302ec80ab65b6f2167d8
|
|
7
|
+
data.tar.gz: ae549ef1b9a8e82d2c2f7392a162e551f84a6a7933aba695b2d343024ffea33baf56dccbc9a755676bb2d9ad7636bc25917bb188597950a515d5b3a61243199a
|
|
@@ -131,6 +131,8 @@
|
|
|
131
131
|
selectedText: fullText.substring(startPos, endPos)
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
+
// 外部公開
|
|
135
|
+
window.getContentEditableSelection = getContentEditableSelection;
|
|
134
136
|
|
|
135
137
|
// Set selection range at specified position (precision enhanced version)
|
|
136
138
|
function setContentEditableSelection(element, start, end) {
|