forgeplus-react/node_modules/draft-js/lib/DraftEditorCommand.js

22 lines
630 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +08:00
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DraftEditorCommand
* @format
*
*/
/*eslint-disable no-bitwise*/
'use strict';
/**
* A set of editor commands that may be invoked by keyboard commands or UI
* controls. These commands should map to operations that modify content or
* selection state and update the editor state accordingly.
*/