File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
reflex/components/suneditor Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 121121 "reflex/components/recharts/polar.pyi" : " 77ca6e0d992f5d5c0479de73db4f71ba" ,
122122 "reflex/components/recharts/recharts.pyi" : " bbaec232c2da035b31b5d0e3888f4801" ,
123123 "reflex/components/sonner/toast.pyi" : " 6dc6d5d05d9a8d7d364c0326fb2e6503" ,
124- "reflex/components/suneditor/editor.pyi" : " 0a6dcab61cc2d750488601e3808080d9 "
124+ "reflex/components/suneditor/editor.pyi" : " 267b698bb0dd11df73f39980274858b4 "
125125}
Original file line number Diff line number Diff line change 88from reflex .base import Base
99from reflex .components .component import Component , NoSSRComponent
1010from reflex .event import EventHandler , no_args_event_spec , passthrough_event_spec
11+ from reflex .utils import console
1112from reflex .utils .format import to_camel_case
1213from reflex .utils .imports import ImportDict , ImportVar
1314from reflex .vars .base import Var
@@ -257,6 +258,13 @@ def create(
257258 Raises:
258259 ValueError: If set_options is a state Var.
259260 """
261+ console .deprecate (
262+ "editor" ,
263+ "The `editor` component is deprecated." ,
264+ deprecation_version = "0.7.15" ,
265+ removal_version = "0.8.0" ,
266+ dedupe = True ,
267+ )
260268 if set_options is not None :
261269 if isinstance (set_options , Var ):
262270 msg = "EditorOptions cannot be a state Var"
You can’t perform that action at this time.
0 commit comments