10 lines
464 B
JavaScript
10 lines
464 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
import{useLexicalComposerContext as o}from"@lexical/react/LexicalComposerContext";import{selectionAlwaysOnDisplay as r}from"@lexical/utils";import{useEffect as t}from"react";function e(){const[e]=o();return t((()=>r(e)),[e]),null}export{e as SelectionAlwaysOnDisplay};
|