mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-09-08 08:42:36 -06:00
Fix incorrect initial line and column count
This commit is contained in:
parent
56532f9ce4
commit
24d86491da
@ -4,7 +4,10 @@ All notable changes to easymde will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
<!-- ## [Unreleased] -->
|
## [Unreleased]
|
||||||
|
### Fixed
|
||||||
|
- Incorrect initial line and column count in status bar.
|
||||||
|
|
||||||
## [2.16.0] - 2022-01-11
|
## [2.16.0] - 2022-01-11
|
||||||
### Added
|
### Added
|
||||||
- `direction` option to enable RTL mode (Thanks to [@souljuse], [#358]).
|
- `direction` option to enable RTL mode (Thanks to [@souljuse], [#358]).
|
||||||
|
@ -2690,7 +2690,7 @@ EasyMDE.prototype.createStatusbar = function (status) {
|
|||||||
};
|
};
|
||||||
} else if (name === 'cursor') {
|
} else if (name === 'cursor') {
|
||||||
defaultValue = function (el) {
|
defaultValue = function (el) {
|
||||||
el.innerHTML = '0:0';
|
el.innerHTML = '1:1';
|
||||||
};
|
};
|
||||||
onActivity = function (el) {
|
onActivity = function (el) {
|
||||||
var pos = cm.getCursor();
|
var pos = cm.getCursor();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user