UNPKG
@rtdui/editor
Version:
latest (5.1.0)
5.1.0
5.0.0
4.10.7
4.10.6
4.10.5
4.10.4
4.10.3
4.10.2
4.10.1
4.10.0
4.9.6
4.9.5
4.9.4
4.9.3
4.9.2
4.9.1
4.9.0
4.8.6
4.8.5
4.8.4
4.8.3
4.8.2
4.8.1
4.8.0
4.7.0
4.6.1
4.6.0
4.5.7
4.5.6
4.5.5
4.5.4
4.5.3
4.5.2
4.5.1
4.5.0
4.4.0
4.3.0
4.2.0
4.1.0
4.0.0
3.1.1
3.1.0
3.0.0
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.1.2
1.1.1
1.1.0
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
React rich text editor based on tiptap
rtdui.com
rtdui/rtdui
@rtdui/editor
/
esm
/
RichTextEditor
/
tiptap_controls
/
ControlContext.mjs
8 lines
(5 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use client'
;
import
{ createSafeContext }
from
'@rtdui/core'
;
const
[
EditorProvider
, useEditorContext] =
createSafeContext
(
"Editor was not found in tree"
);
export
{
EditorProvider
, useEditorContext };
//# sourceMappingURL=ControlContext.mjs.map