Fix incorrect initial line and column count

pull/396/head
Jeroen Akkerman 2 years ago
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/),
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
### Added
- `direction` option to enable RTL mode (Thanks to [@souljuse], [#358]).

@ -2690,7 +2690,7 @@ EasyMDE.prototype.createStatusbar = function (status) {
};
} else if (name === 'cursor') {
defaultValue = function (el) {
el.innerHTML = '0:0';
el.innerHTML = '1:1';
};
onActivity = function (el) {
var pos = cm.getCursor();

Loading…
Cancel
Save