ponkotsu-md-editor 0.2.34 → 0.2.35

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3b1c79f7f7011ffcd76111ea8598c5346790a17feb8c0a6e7f34b1ff7109176
4
- data.tar.gz: 753c49c6d2c30d63059ff982b4f0620cecf94f6f1e5ef2b00f70814112dc35ee
3
+ metadata.gz: 74a4884c21e34834adb7cdbce5f8c1c442fac80faa0d812b70ad565bedd02266
4
+ data.tar.gz: d4b428b2b0bdc36e6a00171b53cd7087b141727d2a487f6283f7310c06da2bf9
5
5
  SHA512:
6
- metadata.gz: 0337a5e3775a7b445a0eec9dfb92c2f3eeda5925fafdcb408496a2010bebb9bc0ab63d1689b45de015a0946c0a5c7674f1b0f8a76f1e9bd2b464e1828eaf8963
7
- data.tar.gz: 719c69fa598fb5a7983cf8ab277c3d4246763569eeb1e72e9083bd9040fbbc37f0fadce92ddca229c3eae3719d1ad22d5d8431f198a5136a9c5ec90909b65ff8
6
+ metadata.gz: 810d320f1518e59b81268d932966ba42ec4c1fc2d9c9653cf798832f39ce5812a4c712240bb55a2ae85039e67e5d8fc1be0c65466e465fade693a2902533fde9
7
+ data.tar.gz: e8a8bef47b27b09a0a294d672f54f85e90306cb6c5d8516fecaebfb01f29af0c1df27851a61b1288e3c71fb05b9c95671bcb84a30c7ca896baa8f2c157a3c956
@@ -124,8 +124,8 @@
124
124
  return () => {
125
125
  if (pendingUpdate) return;
126
126
 
127
- // テキスト取得(innerTextよりtextContentの方が高速)
128
- const currentText = (textarea.textContent || '').replaceAll('\u00A0', ' ');
127
+ // テキスト取得
128
+ const currentText = (textarea.innerText || '').replaceAll('\u00A0', ' ');
129
129
 
130
130
  // 変更がない場合はスキップ
131
131
  if (currentText === lastValue) return;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PonkotsuMdEditor
4
- VERSION = "0.2.34"
4
+ VERSION = "0.2.35"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ponkotsu-md-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.34
4
+ version: 0.2.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - dhq_boiler