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6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.13
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
Base plugin for @atlaskit/editor-core
bitbucket.org/atlassian/atlassian-frontend-mirror
@atlaskit/editor-plugin-base
/
dist
/
es2019
/
pm-plugins
/
scroll-gutter
/
plugin-key.js
7 lines
•
256 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{
PluginKey
}
from
'@atlaskit/editor-prosemirror/state'
;
export
const
scrollGutterPluginKey =
new
PluginKey
(
'scrollGutter'
);
export
const
getScrollGutterPluginState
= state => {
if
(state) {
return
scrollGutterPluginKey.
getState
(state); } };