diff --git a/CHANGELOG.md b/CHANGELOG.md index 90e1160..c2929f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] +### 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]). diff --git a/src/js/easymde.js b/src/js/easymde.js index 20a6c40..ea4a839 100644 --- a/src/js/easymde.js +++ b/src/js/easymde.js @@ -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();