• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

worktile / slate-angular
36%

Build:
DEFAULT BRANCH: master
Repo Added 10 May 2021 09:53AM UTC
Files 44
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • #144
  • #249
  • #WIK-18594
  • #WIK-19488
  • #WIK-19580
  • #WIK-19625
  • #WIK-19814
  • #WIK-19876
  • #WIK-19902
  • #WIK-19914
  • #WIK-3849
  • #WIK-3957
  • #WIK-6751
  • #customInsertFragmentData
  • 0.53.3-copy
  • 1.1.0
  • 1.1.1
  • 1.1.5
  • 1.3.0-rc
  • 1.3.1
  • 1.4.0
  • 1.5.1
  • 1.6.1
  • 1.6.5
  • 1.7.0
  • 1.7.4
  • 1.7.5
  • 1.9.0
  • 13.0.2
  • 13.0.x
  • 13.1.x
  • 14.0.x
  • 16.1.0
  • 16.1.0-next
  • README
  • WIK-563
  • add-placeholder
  • android-compat
  • android-input
  • android-input-handing
  • android_input
  • angular12
  • angular15-upgrade
  • block-card
  • block-card-#269
  • build/release-22.0.0
  • bump-is-hotkey-direction-add-dependencies
  • bump-slate
  • bump-slate-0.110.0
  • bump-slate-into-103
  • bump-slate-v0.72.8
  • bump-slate@0.114.0
  • bump-slate@0.72.3
  • changelog
  • changesets
  • children-diff
  • circle-dep
  • clipboard
  • clipboard-files
  • cmm/#v17
  • compat-invalid-data
  • compatible-qq
  • default-string
  • demo
  • do-not-remove-selected-elements-in-virtual-scroll
  • fake-placeholder
  • feat-remove-suffix-component
  • feat-standalone-component
  • firefox-placeholder
  • firefox-placholder-2
  • fix-composing
  • fix-dependencies
  • fix-partial
  • fix-types
  • fix-void-inline-delete
  • fix/firefox-external-input-focus-steal
  • focus
  • gboard
  • generics-types
  • global-normalize
  • h/#WIK-563
  • huan/#WIK-563
  • huge-table
  • is-composing
  • is-composing2
  • list_render
  • main
  • main-1
  • main-2
  • maple13/#WIK-4221
  • maple13/#WIK-4252
  • maple13/#WIK-4252-1
  • maple13/#WIK-4252-2
  • maple13/#WIK-4252-3
  • maple13/fix-build
  • maple13/fix-placeholder-decorate
  • maple13/fix-selection-null
  • maple13/fix-set-fragment-data
  • maple13/setFragmentData
  • master
  • mention-demo
  • mentions
  • move-apply-test
  • move-block-card-nodes
  • move-node
  • move-nodes
  • nav-menu
  • optimize-measure-height-timing
  • optimize-typing
  • performance
  • placeholder-decorate
  • pre-rendering
  • pre-rendering-2
  • precise-height
  • prettier-format
  • pub-1.0.0
  • pub-1.0.1
  • pub-1.1.3
  • pub-1.1.4
  • pub-1.1.6
  • pub-1.1.7
  • pub-1.1.8
  • pub-1.2.0
  • pub-1.5.2
  • pub-1.6.3
  • pub-1.7.0
  • qq
  • readme-2
  • readonly
  • rebase-16.1.0
  • rebase-17.0.0
  • rebase-two-commits
  • refactor-compatible-firefox
  • refactor-mark-text
  • refactor-placeholder
  • refactor-placeholder-2
  • release-1.7.3
  • release-16.1.0-next
  • release-17.1.2
  • remove-delete-fragment
  • remove-template-element
  • remove-throttle
  • renderer-base-dom
  • rich-text-flavour
  • scroll-into-view
  • scroll-into-view-if-needed
  • scroll-to-upward
  • search-highlighting
  • selection-handle
  • selectionchange
  • slate-100
  • spellcheck
  • spellcheck-blinking
  • support-flavour
  • support-is-floating
  • sync-slate-react@0.72.4
  • table-block-card
  • table-error
  • test-mentions
  • triple-click
  • triple-click-2
  • types
  • update-heights-on-change
  • v0.53.5-copy
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.8.5
  • v17.0.0-next
  • v18.0.0-next
  • v18.x
  • v19.0.0-next
  • v19.2.0-next
  • v20.x
  • v21.0.0-next
  • v21.x
  • version
  • view-loop-manager
  • virtual-scroll
  • w/#WIK-15018
  • w/#WIK-15713
  • w/#WIK-4475
  • w/#WIK-4877
  • w/#WIK-5809
  • w/#WIK-5900
  • w/#WIK-6050
  • w/#WIK-6162
  • w/1.1.9
  • w/1.6.2
  • w/1.9.1
  • w/1.9.2
  • w/1.9.3
  • w/pub
  • wang/#WIK-4119
  • wang/#WIK-4162
  • wang/#WIK-4399
  • wang/#WIK-4475
  • wang/#WIK-4504
  • wang/#WIK-4542
  • wang/#WIK-563
  • wang/#WIK-6050
  • wang/#WIK-697
  • wang/bump
  • wang/demo
  • wang/pub
  • wanghuan/#WIK-6050
  • why520crazy/#OSP-292
  • wumeimin/control-flow
  • wumeimin/control-flow2
  • wumeimin/ng-19.2.x
  • wumeimin/update-control-flow
  • wy/#TINFR-2711
  • wy/#TINFR-363
  • xl/#TINFR-3769
  • xl/update21
  • xws/#WIK-19132
  • xws/#WIK-19187
  • xws/#WIK-19235
  • xws/#WIK-19495
  • xws/#WIK-19501
  • xws/#WIK-19505
  • xws/#WIK-19556
  • xws/#WIK-19590
  • xws/#WIK-19623
  • xws/#WIK-19695
  • xws/#WIK-19723
  • xws/#WIK-20030
  • xws/#add-element-key
  • xws/#block-minheight
  • xws/#fix-scorll-stuck
  • xws/#optimize-debug
  • xws/#virtual-scroll1
  • xws/#withd-change-remeasure
  • xws/fix-get-measure-height-number
  • xws/optimize-virtual-logs
  • xws/optimize-virtual-logs2
  • z
  • zh-cn

10 Sep 2026 08:55AM UTC coverage: 35.683% (+0.4%) from 35.308%
16e9a457-9f0b-4a05-9342-c56cd627f2ba

push

circleci

web-flow
fix(core): do not sync selection while a text input outside the editor is focused (#344)

In Firefox the DOM selection stays in the editor after a text input outside the
editor gets focus (Chrome moves it out). When the editor re-renders, e.g. an
external search box changes `decorate`, `toNativeSelection` found the DOM
selection out of sync and called `setBaseAndExtent`, and since Firefox 55 setting
a selection inside an editing host moves focus to it, so it stole focus from the
input: typing "the" in the search-highlighting demo left "t" in the input and
"he" in the editor.

The re-render also replaces the text node holding the stale DOM selection, and
the following `selectionchange` synced it back to the editor selection.

- skip `toNativeSelection` when a text input outside the editor is focused
- skip syncing the DOM selection to the editor in `toSlateSelection` in that
  case, after the existing "not in editor -> deselect" check so Chrome is unchanged

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

423 of 1392 branches covered (30.39%)

Branch coverage included in aggregate %.

12 of 15 new or added lines in 2 files covered. (80.0%)

1146 of 3005 relevant lines covered (38.14%)

23.06 hits per line

Relevant lines Covered
Build:
Build:
3005 RELEVANT LINES 1146 COVERED LINES
23.06 HITS PER LINE
Source Files on master
  • Tree
  • List 44
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16e9a457... master fix(core): do not sync selection while a text input outside the editor is focused (#344) In Firefox the DOM selection stays in the editor after a text input outside the editor gets focus (Chrome moves it out). When the editor re-renders, e.g. an ... push 10 Sep 2026 08:56AM UTC web-flow circleci
35.68
f98ec7f5... fix/firefox-external-input-focus-steal fix(core): do not sync selection while a text input outside the editor is focused In Firefox the DOM selection stays in the editor after a text input outside the editor gets focus (Chrome moves it out). When the editor re-renders, e.g. an externa... Pull #344 10 Sep 2026 08:40AM UTC pubuzhixing8 circleci
35.68
964425a2... xws/#WIK-20030 chore: add changeset Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Pull #341 10 Sep 2026 08:32AM UTC pubuzhixing8 circleci
35.33
15227801... master fix: #WIK-20030 页面中添加“标签”,火狐浏览器中失焦导致标签闪退 (#341) * fix: #WIK-20030 页面中添加“标签”,火狐浏览器中失焦导致标签闪退 * fix: optimize * fix(core): remove obsolete firefox focus compat in toNativeSelection to avoid stealing focus #WIK-20030 The `el.focus()` in Firefox wa... push 10 Sep 2026 08:32AM UTC web-flow circleci
35.31
38fd5c1b... xws/#WIK-20030 chore(demo): remove editable-voids autofocus verification item Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Pull #341 10 Sep 2026 08:30AM UTC pubuzhixing8 circleci
35.28
5172d126... xws/#WIK-20030 fix(core): remove obsolete firefox focus compat in toNativeSelection to avoid stealing focus #WIK-20030 The `el.focus()` in Firefox was added for bugzilla 1318312 (2016/11/16), which has been fixed since Firefox 55: the Selection API now moves fo... Pull #341 10 Sep 2026 08:15AM UTC pubuzhixing8 circleci
35.33
ea33764b... master build: release 22.0.0 (#343) Co-authored-by: Cursor <cursoragent@cursor.com> push 10 Sep 2026 07:14AM UTC web-flow circleci
35.35
3d5b0fc7... build/release-22.0.0 build: release 22.0.0 Co-authored-by: Cursor <cursoragent@cursor.com> Pull #343 09 Sep 2026 08:59AM UTC xinglu01 circleci
35.35
4363091d... master build: release 22.0.0-next.0 push 02 Sep 2026 02:50AM UTC pubuzhixing8 circleci
35.35
825ba7c0... master build: bump angular 22 (#342) * build: bump angular 21 (#334) * build: bump angular 21 * build: bump angular version to 21.1.2 * chore: pre enter next --------- Co-authored-by: pubuzhixing8 <pubuzhixing@gmail.com> * build: bump angular 22 ... push 01 Sep 2026 06:57AM UTC web-flow circleci
35.35
See All Builds (1018)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc