diff --git a/src/component/base/DraftEditor.react.js b/src/component/base/DraftEditor.react.js index 5c810485d1..602b392a2a 100644 --- a/src/component/base/DraftEditor.react.js +++ b/src/component/base/DraftEditor.react.js @@ -4,10 +4,11 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format + * @emails oncall+draft_js * @flow + * @format + * @oncall draft_js * @preventMunge - * @emails oncall+draft_js */ 'use strict'; diff --git a/src/component/base/DraftEditorFlushControlled.js b/src/component/base/DraftEditorFlushControlled.js index d4a4ee6b19..f7d49b1809 100644 --- a/src/component/base/DraftEditorFlushControlled.js +++ b/src/component/base/DraftEditorFlushControlled.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ const ReactDOMComet = require('ReactDOMComet'); diff --git a/src/component/base/DraftEditorPlaceholder.react.js b/src/component/base/DraftEditorPlaceholder.react.js index a12166e6d3..7039587038 100644 --- a/src/component/base/DraftEditorPlaceholder.react.js +++ b/src/component/base/DraftEditorPlaceholder.react.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/base/DraftEditorProps.js b/src/component/base/DraftEditorProps.js index 85c4baad78..bf9dba12ca 100644 --- a/src/component/base/DraftEditorProps.js +++ b/src/component/base/DraftEditorProps.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/base/DraftScrollPosition.js b/src/component/base/DraftScrollPosition.js index 2bf5eb39c2..d3bf8583c7 100644 --- a/src/component/base/DraftScrollPosition.js +++ b/src/component/base/DraftScrollPosition.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/base/DraftTextAlignment.js b/src/component/base/DraftTextAlignment.js index f903fe95e5..bb6f36c50a 100644 --- a/src/component/base/DraftTextAlignment.js +++ b/src/component/base/DraftTextAlignment.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/base/__tests__/DraftEditor.react-test.js b/src/component/base/__tests__/DraftEditor.react-test.js index a95fad8d27..295ebda2fd 100644 --- a/src/component/base/__tests__/DraftEditor.react-test.js +++ b/src/component/base/__tests__/DraftEditor.react-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/DraftEditorBlock.react.js b/src/component/contents/DraftEditorBlock.react.js index 8c78dc8c87..0f032861d3 100644 --- a/src/component/contents/DraftEditorBlock.react.js +++ b/src/component/contents/DraftEditorBlock.react.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/DraftEditorContents-core.react.js b/src/component/contents/DraftEditorContents-core.react.js index 52cc734039..9881d5691e 100644 --- a/src/component/contents/DraftEditorContents-core.react.js +++ b/src/component/contents/DraftEditorContents-core.react.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/DraftEditorLeaf.react.js b/src/component/contents/DraftEditorLeaf.react.js index 0a7f323a72..fa685d451f 100644 --- a/src/component/contents/DraftEditorLeaf.react.js +++ b/src/component/contents/DraftEditorLeaf.react.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/DraftEditorTextNode.react.js b/src/component/contents/DraftEditorTextNode.react.js index 033f18948c..b709e7381b 100644 --- a/src/component/contents/DraftEditorTextNode.react.js +++ b/src/component/contents/DraftEditorTextNode.react.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/__tests__/DraftEditorBlock.react-test.js b/src/component/contents/__tests__/DraftEditorBlock.react-test.js index 32fed2fb2e..a17a149d33 100644 --- a/src/component/contents/__tests__/DraftEditorBlock.react-test.js +++ b/src/component/contents/__tests__/DraftEditorBlock.react-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/__tests__/DraftEditorContents.react-test.js b/src/component/contents/__tests__/DraftEditorContents.react-test.js index 07d3ec317a..55b89a7bf4 100644 --- a/src/component/contents/__tests__/DraftEditorContents.react-test.js +++ b/src/component/contents/__tests__/DraftEditorContents.react-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/__tests__/DraftEditorTextNode-test.js b/src/component/contents/__tests__/DraftEditorTextNode-test.js index d8e4d61920..a0bfd1427b 100644 --- a/src/component/contents/__tests__/DraftEditorTextNode-test.js +++ b/src/component/contents/__tests__/DraftEditorTextNode-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/exploration/DraftEditorBlockNode.react.js b/src/component/contents/exploration/DraftEditorBlockNode.react.js index db3f36b371..3f60cd14c1 100644 --- a/src/component/contents/exploration/DraftEditorBlockNode.react.js +++ b/src/component/contents/exploration/DraftEditorBlockNode.react.js @@ -4,14 +4,15 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow - * @emails oncall+draft_js - * * This file is a fork of DraftEditorBlock.react.js and DraftEditorContents.react.js * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/exploration/DraftEditorContentsExperimental.react.js b/src/component/contents/exploration/DraftEditorContentsExperimental.react.js index eba15b9135..71aa0ab433 100644 --- a/src/component/contents/exploration/DraftEditorContentsExperimental.react.js +++ b/src/component/contents/exploration/DraftEditorContentsExperimental.react.js @@ -4,14 +4,15 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow - * @emails oncall+draft_js - * * This file is a fork of DraftEditorContents.react.js for tree nodes * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/exploration/DraftEditorDecoratedLeaves.react.js b/src/component/contents/exploration/DraftEditorDecoratedLeaves.react.js index 11e39a9be9..5548a4bbcc 100644 --- a/src/component/contents/exploration/DraftEditorDecoratedLeaves.react.js +++ b/src/component/contents/exploration/DraftEditorDecoratedLeaves.react.js @@ -4,12 +4,13 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow - * @emails oncall+draft_js - * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/exploration/DraftEditorNode.react.js b/src/component/contents/exploration/DraftEditorNode.react.js index bd712b211f..a444c3a160 100644 --- a/src/component/contents/exploration/DraftEditorNode.react.js +++ b/src/component/contents/exploration/DraftEditorNode.react.js @@ -4,12 +4,13 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow - * @emails oncall+draft_js - * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/exploration/__tests__/DraftEditorBlockNode.react-test.js b/src/component/contents/exploration/__tests__/DraftEditorBlockNode.react-test.js index 79592ba866..f04391903f 100644 --- a/src/component/contents/exploration/__tests__/DraftEditorBlockNode.react-test.js +++ b/src/component/contents/exploration/__tests__/DraftEditorBlockNode.react-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/contents/exploration/__tests__/DraftEditorContentsExperimental.react-test.js b/src/component/contents/exploration/__tests__/DraftEditorContentsExperimental.react-test.js index 28e9ca61f0..4810f44664 100644 --- a/src/component/contents/exploration/__tests__/DraftEditorContentsExperimental.react-test.js +++ b/src/component/contents/exploration/__tests__/DraftEditorContentsExperimental.react-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/DraftEditorModes.js b/src/component/handlers/DraftEditorModes.js index 2b05bdeed2..040979b9cf 100644 --- a/src/component/handlers/DraftEditorModes.js +++ b/src/component/handlers/DraftEditorModes.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/composition/DOMObserver.js b/src/component/handlers/composition/DOMObserver.js index 38a4170a52..6a76ab0dfa 100644 --- a/src/component/handlers/composition/DOMObserver.js +++ b/src/component/handlers/composition/DOMObserver.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/composition/DraftEditorCompositionHandler.js b/src/component/handlers/composition/DraftEditorCompositionHandler.js index e5dbf3a2fb..8cef233fc4 100644 --- a/src/component/handlers/composition/DraftEditorCompositionHandler.js +++ b/src/component/handlers/composition/DraftEditorCompositionHandler.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/composition/__tests__/DraftEditorCompostionHandler-test.js b/src/component/handlers/composition/__tests__/DraftEditorCompostionHandler-test.js index 6f4123208d..771f1c63c2 100644 --- a/src/component/handlers/composition/__tests__/DraftEditorCompostionHandler-test.js +++ b/src/component/handlers/composition/__tests__/DraftEditorCompostionHandler-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/drag/DraftEditorDragHandler.js b/src/component/handlers/drag/DraftEditorDragHandler.js index adfa19802f..4b948f75db 100644 --- a/src/component/handlers/drag/DraftEditorDragHandler.js +++ b/src/component/handlers/drag/DraftEditorDragHandler.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/DraftEditorEditHandler.js b/src/component/handlers/edit/DraftEditorEditHandler.js index b8ef547c85..9d00010779 100644 --- a/src/component/handlers/edit/DraftEditorEditHandler.js +++ b/src/component/handlers/edit/DraftEditorEditHandler.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/__tests__/editOnBeforeInput-test.js b/src/component/handlers/edit/__tests__/editOnBeforeInput-test.js index 3d12764d27..3d76d928a3 100644 --- a/src/component/handlers/edit/__tests__/editOnBeforeInput-test.js +++ b/src/component/handlers/edit/__tests__/editOnBeforeInput-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/__tests__/editOnBlur-test.js b/src/component/handlers/edit/__tests__/editOnBlur-test.js index e683cf5678..c69aac5fd4 100644 --- a/src/component/handlers/edit/__tests__/editOnBlur-test.js +++ b/src/component/handlers/edit/__tests__/editOnBlur-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/__tests__/editOnInput-test.js b/src/component/handlers/edit/__tests__/editOnInput-test.js index 3ec3616ce2..e52cef4612 100644 --- a/src/component/handlers/edit/__tests__/editOnInput-test.js +++ b/src/component/handlers/edit/__tests__/editOnInput-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/SecondaryClipboard.js b/src/component/handlers/edit/commands/SecondaryClipboard.js index 37dcb30a44..dedcfbae04 100644 --- a/src/component/handlers/edit/commands/SecondaryClipboard.js +++ b/src/component/handlers/edit/commands/SecondaryClipboard.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/__tests__/SecondaryClipboard-test.js b/src/component/handlers/edit/commands/__tests__/SecondaryClipboard-test.js index 46664b2f91..721880aee2 100644 --- a/src/component/handlers/edit/commands/__tests__/SecondaryClipboard-test.js +++ b/src/component/handlers/edit/commands/__tests__/SecondaryClipboard-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/__tests__/removeTextWithStrategy-test.js b/src/component/handlers/edit/commands/__tests__/removeTextWithStrategy-test.js index 25baa93949..a3b91c3789 100644 --- a/src/component/handlers/edit/commands/__tests__/removeTextWithStrategy-test.js +++ b/src/component/handlers/edit/commands/__tests__/removeTextWithStrategy-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js b/src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js index be0959377c..2182acf5be 100644 --- a/src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js +++ b/src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandBackspaceWord.js b/src/component/handlers/edit/commands/keyCommandBackspaceWord.js index b9a16c493e..774fe8a1b0 100644 --- a/src/component/handlers/edit/commands/keyCommandBackspaceWord.js +++ b/src/component/handlers/edit/commands/keyCommandBackspaceWord.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandDeleteWord.js b/src/component/handlers/edit/commands/keyCommandDeleteWord.js index 33e5bac1fa..52abef0f99 100644 --- a/src/component/handlers/edit/commands/keyCommandDeleteWord.js +++ b/src/component/handlers/edit/commands/keyCommandDeleteWord.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandInsertNewline.js b/src/component/handlers/edit/commands/keyCommandInsertNewline.js index 862643f663..5d7ad7e7ed 100644 --- a/src/component/handlers/edit/commands/keyCommandInsertNewline.js +++ b/src/component/handlers/edit/commands/keyCommandInsertNewline.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandMoveSelectionToEndOfBlock.js b/src/component/handlers/edit/commands/keyCommandMoveSelectionToEndOfBlock.js index 483c689d3c..4fcfe9c34b 100644 --- a/src/component/handlers/edit/commands/keyCommandMoveSelectionToEndOfBlock.js +++ b/src/component/handlers/edit/commands/keyCommandMoveSelectionToEndOfBlock.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandMoveSelectionToStartOfBlock.js b/src/component/handlers/edit/commands/keyCommandMoveSelectionToStartOfBlock.js index 38988993a2..dda1ece36b 100644 --- a/src/component/handlers/edit/commands/keyCommandMoveSelectionToStartOfBlock.js +++ b/src/component/handlers/edit/commands/keyCommandMoveSelectionToStartOfBlock.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandPlainBackspace.js b/src/component/handlers/edit/commands/keyCommandPlainBackspace.js index 1c6f92dd3d..089df14b60 100644 --- a/src/component/handlers/edit/commands/keyCommandPlainBackspace.js +++ b/src/component/handlers/edit/commands/keyCommandPlainBackspace.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandPlainDelete.js b/src/component/handlers/edit/commands/keyCommandPlainDelete.js index 0e16f1ce97..a18df7a98b 100644 --- a/src/component/handlers/edit/commands/keyCommandPlainDelete.js +++ b/src/component/handlers/edit/commands/keyCommandPlainDelete.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandTransposeCharacters.js b/src/component/handlers/edit/commands/keyCommandTransposeCharacters.js index 8a51a6b8a5..ccf5b96566 100644 --- a/src/component/handlers/edit/commands/keyCommandTransposeCharacters.js +++ b/src/component/handlers/edit/commands/keyCommandTransposeCharacters.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/keyCommandUndo.js b/src/component/handlers/edit/commands/keyCommandUndo.js index 93aede42d1..b8810d2f7e 100644 --- a/src/component/handlers/edit/commands/keyCommandUndo.js +++ b/src/component/handlers/edit/commands/keyCommandUndo.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/moveSelectionBackward.js b/src/component/handlers/edit/commands/moveSelectionBackward.js index 18b165c082..ecba2b4f7a 100644 --- a/src/component/handlers/edit/commands/moveSelectionBackward.js +++ b/src/component/handlers/edit/commands/moveSelectionBackward.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/moveSelectionForward.js b/src/component/handlers/edit/commands/moveSelectionForward.js index 8456f1f03c..be1a76e4a1 100644 --- a/src/component/handlers/edit/commands/moveSelectionForward.js +++ b/src/component/handlers/edit/commands/moveSelectionForward.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/commands/removeTextWithStrategy.js b/src/component/handlers/edit/commands/removeTextWithStrategy.js index 26157f0c6e..15fdae4bca 100644 --- a/src/component/handlers/edit/commands/removeTextWithStrategy.js +++ b/src/component/handlers/edit/commands/removeTextWithStrategy.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnBeforeInput.js b/src/component/handlers/edit/editOnBeforeInput.js index ea7c4dd1f3..f1606f54f1 100644 --- a/src/component/handlers/edit/editOnBeforeInput.js +++ b/src/component/handlers/edit/editOnBeforeInput.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnBlur.js b/src/component/handlers/edit/editOnBlur.js index 04135e21c6..7735f56cb4 100644 --- a/src/component/handlers/edit/editOnBlur.js +++ b/src/component/handlers/edit/editOnBlur.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnCompositionStart.js b/src/component/handlers/edit/editOnCompositionStart.js index d1fe7925ca..47d1f2f0ba 100644 --- a/src/component/handlers/edit/editOnCompositionStart.js +++ b/src/component/handlers/edit/editOnCompositionStart.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnCopy.js b/src/component/handlers/edit/editOnCopy.js index 3eb1f2506d..d1205c5864 100644 --- a/src/component/handlers/edit/editOnCopy.js +++ b/src/component/handlers/edit/editOnCopy.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnCut.js b/src/component/handlers/edit/editOnCut.js index c3d1651de4..c792189ed7 100644 --- a/src/component/handlers/edit/editOnCut.js +++ b/src/component/handlers/edit/editOnCut.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnDragOver.js b/src/component/handlers/edit/editOnDragOver.js index 8dd6702e92..899913a0fc 100644 --- a/src/component/handlers/edit/editOnDragOver.js +++ b/src/component/handlers/edit/editOnDragOver.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnDragStart.js b/src/component/handlers/edit/editOnDragStart.js index 95f532e36d..964e75f700 100644 --- a/src/component/handlers/edit/editOnDragStart.js +++ b/src/component/handlers/edit/editOnDragStart.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnFocus.js b/src/component/handlers/edit/editOnFocus.js index 6092b79c8d..d69a1eeb66 100644 --- a/src/component/handlers/edit/editOnFocus.js +++ b/src/component/handlers/edit/editOnFocus.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnInput.js b/src/component/handlers/edit/editOnInput.js index f861691d2f..a0000737e8 100644 --- a/src/component/handlers/edit/editOnInput.js +++ b/src/component/handlers/edit/editOnInput.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnKeyDown.js b/src/component/handlers/edit/editOnKeyDown.js index a5bdd60752..17a4efc060 100644 --- a/src/component/handlers/edit/editOnKeyDown.js +++ b/src/component/handlers/edit/editOnKeyDown.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnPaste.js b/src/component/handlers/edit/editOnPaste.js index 3d3a4cab82..68983c7e8e 100644 --- a/src/component/handlers/edit/editOnPaste.js +++ b/src/component/handlers/edit/editOnPaste.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/editOnSelect.js b/src/component/handlers/edit/editOnSelect.js index 799aa922f6..6f060bf47d 100644 --- a/src/component/handlers/edit/editOnSelect.js +++ b/src/component/handlers/edit/editOnSelect.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/handlers/edit/getFragmentFromSelection.js b/src/component/handlers/edit/getFragmentFromSelection.js index 70efb2b370..b644b96b3a 100644 --- a/src/component/handlers/edit/getFragmentFromSelection.js +++ b/src/component/handlers/edit/getFragmentFromSelection.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/DOMDerivedSelection.js b/src/component/selection/DOMDerivedSelection.js index 8c63e5e6e2..4352c6cf48 100644 --- a/src/component/selection/DOMDerivedSelection.js +++ b/src/component/selection/DOMDerivedSelection.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/DraftOffsetKey.js b/src/component/selection/DraftOffsetKey.js index db1a05339c..ae6f0722d3 100644 --- a/src/component/selection/DraftOffsetKey.js +++ b/src/component/selection/DraftOffsetKey.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/DraftOffsetKeyPath.js b/src/component/selection/DraftOffsetKeyPath.js index 6f1cea9305..e8903aaa70 100644 --- a/src/component/selection/DraftOffsetKeyPath.js +++ b/src/component/selection/DraftOffsetKeyPath.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/__tests__/DraftOffsetKey-test.js b/src/component/selection/__tests__/DraftOffsetKey-test.js index b624f05e65..032af72fdd 100644 --- a/src/component/selection/__tests__/DraftOffsetKey-test.js +++ b/src/component/selection/__tests__/DraftOffsetKey-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ const DraftOffsetKey = require('DraftOffsetKey'); diff --git a/src/component/selection/__tests__/getDraftEditorSelection-test.js b/src/component/selection/__tests__/getDraftEditorSelection-test.js index 1e57db3402..657bdb329a 100644 --- a/src/component/selection/__tests__/getDraftEditorSelection-test.js +++ b/src/component/selection/__tests__/getDraftEditorSelection-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/__tests__/setDraftEditorSelection-test.js b/src/component/selection/__tests__/setDraftEditorSelection-test.js index e336da1e48..2d765808a8 100644 --- a/src/component/selection/__tests__/setDraftEditorSelection-test.js +++ b/src/component/selection/__tests__/setDraftEditorSelection-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/expandRangeToStartOfLine.js b/src/component/selection/expandRangeToStartOfLine.js index d763999e2a..cdf0340e9a 100644 --- a/src/component/selection/expandRangeToStartOfLine.js +++ b/src/component/selection/expandRangeToStartOfLine.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ const UnicodeUtils = require('UnicodeUtils'); diff --git a/src/component/selection/findAncestorOffsetKey.js b/src/component/selection/findAncestorOffsetKey.js index 87061b1efb..767eb6de83 100644 --- a/src/component/selection/findAncestorOffsetKey.js +++ b/src/component/selection/findAncestorOffsetKey.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getDraftEditorSelection.js b/src/component/selection/getDraftEditorSelection.js index e09f7bf786..3dd78ad846 100644 --- a/src/component/selection/getDraftEditorSelection.js +++ b/src/component/selection/getDraftEditorSelection.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getDraftEditorSelectionWithNodes.js b/src/component/selection/getDraftEditorSelectionWithNodes.js index 3878bfbf4f..ec76df9023 100644 --- a/src/component/selection/getDraftEditorSelectionWithNodes.js +++ b/src/component/selection/getDraftEditorSelectionWithNodes.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getRangeBoundingClientRect.js b/src/component/selection/getRangeBoundingClientRect.js index d8f81e96e7..b30ddffa3a 100644 --- a/src/component/selection/getRangeBoundingClientRect.js +++ b/src/component/selection/getRangeBoundingClientRect.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getRangeClientRects.js b/src/component/selection/getRangeClientRects.js index 63a580f18c..a7c671cac7 100644 --- a/src/component/selection/getRangeClientRects.js +++ b/src/component/selection/getRangeClientRects.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getSampleSelectionMocksForTesting.js b/src/component/selection/getSampleSelectionMocksForTesting.js index 014eebd2ce..fd7c8491a0 100644 --- a/src/component/selection/getSampleSelectionMocksForTesting.js +++ b/src/component/selection/getSampleSelectionMocksForTesting.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getSampleSelectionMocksForTestingNestedBlocks.js b/src/component/selection/getSampleSelectionMocksForTestingNestedBlocks.js index b4432671bf..81f0091bd0 100644 --- a/src/component/selection/getSampleSelectionMocksForTestingNestedBlocks.js +++ b/src/component/selection/getSampleSelectionMocksForTestingNestedBlocks.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getSelectionOffsetKeyForNode.js b/src/component/selection/getSelectionOffsetKeyForNode.js index add698917b..df80867b3d 100644 --- a/src/component/selection/getSelectionOffsetKeyForNode.js +++ b/src/component/selection/getSelectionOffsetKeyForNode.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getUpdatedSelectionState.js b/src/component/selection/getUpdatedSelectionState.js index 1c6c55d5cd..8d560c4484 100644 --- a/src/component/selection/getUpdatedSelectionState.js +++ b/src/component/selection/getUpdatedSelectionState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/getVisibleSelectionRect.js b/src/component/selection/getVisibleSelectionRect.js index afbe7fe5b6..1f9ebf8328 100644 --- a/src/component/selection/getVisibleSelectionRect.js +++ b/src/component/selection/getVisibleSelectionRect.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/isSelectionAtLeafStart.js b/src/component/selection/isSelectionAtLeafStart.js index eb573195d7..c2eec9af54 100644 --- a/src/component/selection/isSelectionAtLeafStart.js +++ b/src/component/selection/isSelectionAtLeafStart.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/selection/setDraftEditorSelection.js b/src/component/selection/setDraftEditorSelection.js index d7234f936a..f59169f387 100644 --- a/src/component/selection/setDraftEditorSelection.js +++ b/src/component/selection/setDraftEditorSelection.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/DraftDOMTypes.js b/src/component/utils/DraftDOMTypes.js index 8e0fb27707..6927e9b25f 100644 --- a/src/component/utils/DraftDOMTypes.js +++ b/src/component/utils/DraftDOMTypes.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/KeyBindingUtil.js b/src/component/utils/KeyBindingUtil.js index 2900161c41..e12f7bee9d 100644 --- a/src/component/utils/KeyBindingUtil.js +++ b/src/component/utils/KeyBindingUtil.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/_DraftTestHelper.js b/src/component/utils/_DraftTestHelper.js index caa668a1af..198ba97773 100644 --- a/src/component/utils/_DraftTestHelper.js +++ b/src/component/utils/_DraftTestHelper.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * + * @emails oncall+draft_js * @flow * @format - * @emails oncall+draft_js + * @oncall draft_js */ const BLACK_LIST_PROPS = ['data-reactroot']; diff --git a/src/component/utils/__tests__/isHTMLBRElement-test.js b/src/component/utils/__tests__/isHTMLBRElement-test.js index 3682909d66..8075e14499 100644 --- a/src/component/utils/__tests__/isHTMLBRElement-test.js +++ b/src/component/utils/__tests__/isHTMLBRElement-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/draftKeyUtils.js b/src/component/utils/draftKeyUtils.js index b7c7eafca3..c6a3b8b78b 100644 --- a/src/component/utils/draftKeyUtils.js +++ b/src/component/utils/draftKeyUtils.js @@ -9,6 +9,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/exploration/DraftTreeAdapter.js b/src/component/utils/exploration/DraftTreeAdapter.js index 06b4f14cee..98e80e4ff0 100644 --- a/src/component/utils/exploration/DraftTreeAdapter.js +++ b/src/component/utils/exploration/DraftTreeAdapter.js @@ -4,12 +4,13 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local - * @emails oncall+draft_js - * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ import type {RawDraftContentBlock} from 'RawDraftContentBlock'; diff --git a/src/component/utils/exploration/DraftTreeInvariants.js b/src/component/utils/exploration/DraftTreeInvariants.js index 1cceb25ec4..282e240c84 100644 --- a/src/component/utils/exploration/DraftTreeInvariants.js +++ b/src/component/utils/exploration/DraftTreeInvariants.js @@ -4,12 +4,13 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local - * @emails oncall+draft_js - * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ import type {BlockMap} from 'BlockMap'; import type {BlockNodeKey} from 'BlockNode'; diff --git a/src/component/utils/exploration/__tests__/DraftTreeAdapter-test.js b/src/component/utils/exploration/__tests__/DraftTreeAdapter-test.js index aa427f373c..91f816cd1a 100644 --- a/src/component/utils/exploration/__tests__/DraftTreeAdapter-test.js +++ b/src/component/utils/exploration/__tests__/DraftTreeAdapter-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/exploration/__tests__/DraftTreeInvariants-test.js b/src/component/utils/exploration/__tests__/DraftTreeInvariants-test.js index cb1fdd2b92..1ddff5a9cd 100644 --- a/src/component/utils/exploration/__tests__/DraftTreeInvariants-test.js +++ b/src/component/utils/exploration/__tests__/DraftTreeInvariants-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/getContentEditableContainer.js b/src/component/utils/getContentEditableContainer.js index 0adc4ef2eb..6d6dd590fb 100644 --- a/src/component/utils/getContentEditableContainer.js +++ b/src/component/utils/getContentEditableContainer.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/getCorrectDocumentFromNode.js b/src/component/utils/getCorrectDocumentFromNode.js index 05bafa5876..3826730d80 100644 --- a/src/component/utils/getCorrectDocumentFromNode.js +++ b/src/component/utils/getCorrectDocumentFromNode.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ function getCorrectDocumentFromNode(node: ?Node): Document { diff --git a/src/component/utils/getDefaultKeyBinding.js b/src/component/utils/getDefaultKeyBinding.js index ebbd193ca1..86ff1f0fba 100644 --- a/src/component/utils/getDefaultKeyBinding.js +++ b/src/component/utils/getDefaultKeyBinding.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/getTextContentFromFiles.js b/src/component/utils/getTextContentFromFiles.js index 176ce9a429..546fd6adcc 100644 --- a/src/component/utils/getTextContentFromFiles.js +++ b/src/component/utils/getTextContentFromFiles.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/getWindowForNode.js b/src/component/utils/getWindowForNode.js index f469bae81f..ef4c7e5426 100644 --- a/src/component/utils/getWindowForNode.js +++ b/src/component/utils/getWindowForNode.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ function getWindowForNode(node: ?Node): Window { diff --git a/src/component/utils/isElement.js b/src/component/utils/isElement.js index b841aa5ca7..4ce74c25d4 100644 --- a/src/component/utils/isElement.js +++ b/src/component/utils/isElement.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ function isElement(node: ?Node): boolean { diff --git a/src/component/utils/isEventHandled.js b/src/component/utils/isEventHandled.js index f6f1aff26b..6e9b353a05 100644 --- a/src/component/utils/isEventHandled.js +++ b/src/component/utils/isEventHandled.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/isHTMLAnchorElement.js b/src/component/utils/isHTMLAnchorElement.js index 365eac6e87..14bee8dd00 100644 --- a/src/component/utils/isHTMLAnchorElement.js +++ b/src/component/utils/isHTMLAnchorElement.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ const isElement = require('isElement'); diff --git a/src/component/utils/isHTMLBRElement.js b/src/component/utils/isHTMLBRElement.js index 4728c3ddac..7393b7d5bc 100644 --- a/src/component/utils/isHTMLBRElement.js +++ b/src/component/utils/isHTMLBRElement.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ const isElement = require('isElement'); diff --git a/src/component/utils/isHTMLElement.js b/src/component/utils/isHTMLElement.js index 5f98667fed..a10e1bbef4 100644 --- a/src/component/utils/isHTMLElement.js +++ b/src/component/utils/isHTMLElement.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ function isHTMLElement(node: ?Node): boolean { diff --git a/src/component/utils/isHTMLImageElement.js b/src/component/utils/isHTMLImageElement.js index 261b56c3dd..38e4ca35b7 100644 --- a/src/component/utils/isHTMLImageElement.js +++ b/src/component/utils/isHTMLImageElement.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ const isElement = require('isElement'); diff --git a/src/component/utils/isInstanceOfNode.js b/src/component/utils/isInstanceOfNode.js index ea76ee7c2a..b70ab16a3e 100644 --- a/src/component/utils/isInstanceOfNode.js +++ b/src/component/utils/isInstanceOfNode.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ function isInstanceOfNode(target: ?EventTarget): boolean { diff --git a/src/component/utils/isSoftNewlineEvent.js b/src/component/utils/isSoftNewlineEvent.js index edddf72d71..38e2fb3fd8 100644 --- a/src/component/utils/isSoftNewlineEvent.js +++ b/src/component/utils/isSoftNewlineEvent.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/component/utils/splitTextIntoTextBlocks.js b/src/component/utils/splitTextIntoTextBlocks.js index 8370d1573b..dc43abfdd1 100644 --- a/src/component/utils/splitTextIntoTextBlocks.js +++ b/src/component/utils/splitTextIntoTextBlocks.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/constants/DraftBlockType.js b/src/model/constants/DraftBlockType.js index 54df5ab2ad..5bb2bf0b66 100644 --- a/src/model/constants/DraftBlockType.js +++ b/src/model/constants/DraftBlockType.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/constants/DraftDragType.js b/src/model/constants/DraftDragType.js index 4331300ed2..5aae7cb2a7 100644 --- a/src/model/constants/DraftDragType.js +++ b/src/model/constants/DraftDragType.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/constants/DraftEditorCommand.js b/src/model/constants/DraftEditorCommand.js index 219a263471..7d4a0dee84 100644 --- a/src/model/constants/DraftEditorCommand.js +++ b/src/model/constants/DraftEditorCommand.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/constants/DraftHandleValue.js b/src/model/constants/DraftHandleValue.js index 7a8cae02d3..0c64954c17 100644 --- a/src/model/constants/DraftHandleValue.js +++ b/src/model/constants/DraftHandleValue.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/constants/DraftInsertionType.js b/src/model/constants/DraftInsertionType.js index a6a94d1212..3ff1f2d586 100644 --- a/src/model/constants/DraftInsertionType.js +++ b/src/model/constants/DraftInsertionType.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/constants/DraftRemovalDirection.js b/src/model/constants/DraftRemovalDirection.js index 0b2795ba44..376dadc235 100644 --- a/src/model/constants/DraftRemovalDirection.js +++ b/src/model/constants/DraftRemovalDirection.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/decorators/CompositeDraftDecorator.js b/src/model/decorators/CompositeDraftDecorator.js index 59e2b2d6f5..05a91a9325 100644 --- a/src/model/decorators/CompositeDraftDecorator.js +++ b/src/model/decorators/CompositeDraftDecorator.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/decorators/DraftDecorator.js b/src/model/decorators/DraftDecorator.js index f04cb54275..2ff75bfd30 100644 --- a/src/model/decorators/DraftDecorator.js +++ b/src/model/decorators/DraftDecorator.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/decorators/DraftDecoratorType.js b/src/model/decorators/DraftDecoratorType.js index 2582164846..e65c9a9794 100644 --- a/src/model/decorators/DraftDecoratorType.js +++ b/src/model/decorators/DraftDecoratorType.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/decorators/__tests__/CompositeDraftDecorator-test.js b/src/model/decorators/__tests__/CompositeDraftDecorator-test.js index fd2d281430..49d2f3af82 100644 --- a/src/model/decorators/__tests__/CompositeDraftDecorator-test.js +++ b/src/model/decorators/__tests__/CompositeDraftDecorator-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ jest.mock('ContentState'); diff --git a/src/model/encoding/DraftStringKey.js b/src/model/encoding/DraftStringKey.js index 79dc9ce754..0e34f31f82 100644 --- a/src/model/encoding/DraftStringKey.js +++ b/src/model/encoding/DraftStringKey.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/EntityRange.js b/src/model/encoding/EntityRange.js index a8b4ec6aae..46ea367310 100644 --- a/src/model/encoding/EntityRange.js +++ b/src/model/encoding/EntityRange.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/InlineStyleRange.js b/src/model/encoding/InlineStyleRange.js index 34da5adea4..892d6e650f 100644 --- a/src/model/encoding/InlineStyleRange.js +++ b/src/model/encoding/InlineStyleRange.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/RawDraftContentBlock.js b/src/model/encoding/RawDraftContentBlock.js index a991daa872..ba64881486 100644 --- a/src/model/encoding/RawDraftContentBlock.js +++ b/src/model/encoding/RawDraftContentBlock.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/RawDraftContentState.js b/src/model/encoding/RawDraftContentState.js index ee39042d30..9b32f985ff 100644 --- a/src/model/encoding/RawDraftContentState.js +++ b/src/model/encoding/RawDraftContentState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/RawDraftEntity.js b/src/model/encoding/RawDraftEntity.js index fccf4f75c4..a7c816bfdf 100644 --- a/src/model/encoding/RawDraftEntity.js +++ b/src/model/encoding/RawDraftEntity.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/DraftStringKey-test.js b/src/model/encoding/__tests__/DraftStringKey-test.js index 8e37d99efc..44adc352f9 100644 --- a/src/model/encoding/__tests__/DraftStringKey-test.js +++ b/src/model/encoding/__tests__/DraftStringKey-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/convertFromDraftStateToRaw-test.js b/src/model/encoding/__tests__/convertFromDraftStateToRaw-test.js index bfd2929003..e4275f3439 100644 --- a/src/model/encoding/__tests__/convertFromDraftStateToRaw-test.js +++ b/src/model/encoding/__tests__/convertFromDraftStateToRaw-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/convertFromHTMLToContentBlocks-test.js b/src/model/encoding/__tests__/convertFromHTMLToContentBlocks-test.js index af11918a7a..0b7d19c785 100644 --- a/src/model/encoding/__tests__/convertFromHTMLToContentBlocks-test.js +++ b/src/model/encoding/__tests__/convertFromHTMLToContentBlocks-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/convertFromRawToDraftState-test.js b/src/model/encoding/__tests__/convertFromRawToDraftState-test.js index 23c062516d..6dad5f9076 100644 --- a/src/model/encoding/__tests__/convertFromRawToDraftState-test.js +++ b/src/model/encoding/__tests__/convertFromRawToDraftState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/decodeEntityRanges-test.js b/src/model/encoding/__tests__/decodeEntityRanges-test.js index 3dcd9cc966..7b4f4d053e 100644 --- a/src/model/encoding/__tests__/decodeEntityRanges-test.js +++ b/src/model/encoding/__tests__/decodeEntityRanges-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/decodeInlineStyleRanges-test.js b/src/model/encoding/__tests__/decodeInlineStyleRanges-test.js index 418a1be623..aca6d2ad22 100644 --- a/src/model/encoding/__tests__/decodeInlineStyleRanges-test.js +++ b/src/model/encoding/__tests__/decodeInlineStyleRanges-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/encodeEntityRanges-test.js b/src/model/encoding/__tests__/encodeEntityRanges-test.js index ef57e4179a..bad9e31147 100644 --- a/src/model/encoding/__tests__/encodeEntityRanges-test.js +++ b/src/model/encoding/__tests__/encodeEntityRanges-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/encodeInlineStyleRanges-test.js b/src/model/encoding/__tests__/encodeInlineStyleRanges-test.js index f62b75fb2b..1a1b24746a 100644 --- a/src/model/encoding/__tests__/encodeInlineStyleRanges-test.js +++ b/src/model/encoding/__tests__/encodeInlineStyleRanges-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/__tests__/sanitizeDraftText-test.js b/src/model/encoding/__tests__/sanitizeDraftText-test.js index 5f46f5e3e2..aceacb2ce0 100644 --- a/src/model/encoding/__tests__/sanitizeDraftText-test.js +++ b/src/model/encoding/__tests__/sanitizeDraftText-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ const sanitizeDraftText = require('sanitizeDraftText'); diff --git a/src/model/encoding/convertFromDraftStateToRaw.js b/src/model/encoding/convertFromDraftStateToRaw.js index d4cddc98e0..3dd8a44d8e 100644 --- a/src/model/encoding/convertFromDraftStateToRaw.js +++ b/src/model/encoding/convertFromDraftStateToRaw.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/convertFromHTMLToContentBlocks.js b/src/model/encoding/convertFromHTMLToContentBlocks.js index dad410e4e4..82c68e6c9a 100644 --- a/src/model/encoding/convertFromHTMLToContentBlocks.js +++ b/src/model/encoding/convertFromHTMLToContentBlocks.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/convertFromRawToDraftState.js b/src/model/encoding/convertFromRawToDraftState.js index eeb4ef02e4..5a85685758 100644 --- a/src/model/encoding/convertFromRawToDraftState.js +++ b/src/model/encoding/convertFromRawToDraftState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/createCharacterList.js b/src/model/encoding/createCharacterList.js index 477ecbaafb..c3f2dab740 100644 --- a/src/model/encoding/createCharacterList.js +++ b/src/model/encoding/createCharacterList.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/decodeEntityRanges.js b/src/model/encoding/decodeEntityRanges.js index c10eab006a..263c6e9e69 100644 --- a/src/model/encoding/decodeEntityRanges.js +++ b/src/model/encoding/decodeEntityRanges.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/decodeInlineStyleRanges.js b/src/model/encoding/decodeInlineStyleRanges.js index 3f95621cf6..3f6ff928c0 100644 --- a/src/model/encoding/decodeInlineStyleRanges.js +++ b/src/model/encoding/decodeInlineStyleRanges.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/encodeEntityRanges.js b/src/model/encoding/encodeEntityRanges.js index 92296f2d77..0f3c8939d9 100644 --- a/src/model/encoding/encodeEntityRanges.js +++ b/src/model/encoding/encodeEntityRanges.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/encodeInlineStyleRanges.js b/src/model/encoding/encodeInlineStyleRanges.js index 0ec3bd2e08..f1fadbc155 100644 --- a/src/model/encoding/encodeInlineStyleRanges.js +++ b/src/model/encoding/encodeInlineStyleRanges.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/encoding/sanitizeDraftText.js b/src/model/encoding/sanitizeDraftText.js index 3001aaae6a..ec373b2c4b 100644 --- a/src/model/encoding/sanitizeDraftText.js +++ b/src/model/encoding/sanitizeDraftText.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/entity/DraftEntity.js b/src/model/entity/DraftEntity.js index eb06a37aa5..1271323911 100644 --- a/src/model/entity/DraftEntity.js +++ b/src/model/entity/DraftEntity.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ import type {DraftEntityMutability} from 'DraftEntityMutability'; diff --git a/src/model/entity/DraftEntityInstance.js b/src/model/entity/DraftEntityInstance.js index 7b6230759d..af68f84d2e 100644 --- a/src/model/entity/DraftEntityInstance.js +++ b/src/model/entity/DraftEntityInstance.js @@ -4,10 +4,11 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @legacyServerCallableInstance - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @legacyServerCallableInstance + * @oncall draft_js */ 'use strict'; diff --git a/src/model/entity/DraftEntityMutability.js b/src/model/entity/DraftEntityMutability.js index eaccff79eb..1a3e59be23 100644 --- a/src/model/entity/DraftEntityMutability.js +++ b/src/model/entity/DraftEntityMutability.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/entity/DraftEntityType.js b/src/model/entity/DraftEntityType.js index 7f99ccdf90..40bf6c25a7 100644 --- a/src/model/entity/DraftEntityType.js +++ b/src/model/entity/DraftEntityType.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/entity/__mocks__/DraftEntity.js b/src/model/entity/__mocks__/DraftEntity.js index 8069c66361..82ee8de529 100644 --- a/src/model/entity/__mocks__/DraftEntity.js +++ b/src/model/entity/__mocks__/DraftEntity.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ const DraftEntity = jest.genMockFromModule('DraftEntity'); diff --git a/src/model/entity/__tests__/DraftEntity-test.js b/src/model/entity/__tests__/DraftEntity-test.js index b39fefa207..a29baea1e3 100644 --- a/src/model/entity/__tests__/DraftEntity-test.js +++ b/src/model/entity/__tests__/DraftEntity-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/entity/__tests__/getEntityKeyForSelection-test.js b/src/model/entity/__tests__/getEntityKeyForSelection-test.js index 14d901ee58..3868fd29a7 100644 --- a/src/model/entity/__tests__/getEntityKeyForSelection-test.js +++ b/src/model/entity/__tests__/getEntityKeyForSelection-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ const getEntityKeyForSelection = require('getEntityKeyForSelection'); diff --git a/src/model/entity/getEntityKeyForSelection.js b/src/model/entity/getEntityKeyForSelection.js index 85264b62d1..956ba0bdfa 100644 --- a/src/model/entity/getEntityKeyForSelection.js +++ b/src/model/entity/getEntityKeyForSelection.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/entity/getTextAfterNearestEntity.js b/src/model/entity/getTextAfterNearestEntity.js index 45edd1b589..20de18829d 100644 --- a/src/model/entity/getTextAfterNearestEntity.js +++ b/src/model/entity/getTextAfterNearestEntity.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/BlockMap.js b/src/model/immutable/BlockMap.js index be37e6d7ad..3a0b1870cc 100644 --- a/src/model/immutable/BlockMap.js +++ b/src/model/immutable/BlockMap.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/BlockMapBuilder.js b/src/model/immutable/BlockMapBuilder.js index fdf09443f7..3dc1d24034 100644 --- a/src/model/immutable/BlockMapBuilder.js +++ b/src/model/immutable/BlockMapBuilder.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/BlockNode.js b/src/model/immutable/BlockNode.js index 3b5e122832..253a944b03 100644 --- a/src/model/immutable/BlockNode.js +++ b/src/model/immutable/BlockNode.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/BlockNodeRecord.js b/src/model/immutable/BlockNodeRecord.js index 36b797f591..c9fc6fc077 100644 --- a/src/model/immutable/BlockNodeRecord.js +++ b/src/model/immutable/BlockNodeRecord.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/BlockTree.js b/src/model/immutable/BlockTree.js index 12f92c9457..95e2833feb 100644 --- a/src/model/immutable/BlockTree.js +++ b/src/model/immutable/BlockTree.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/CharacterMetadata.js b/src/model/immutable/CharacterMetadata.js index b26ad16f4c..587cca46b2 100644 --- a/src/model/immutable/CharacterMetadata.js +++ b/src/model/immutable/CharacterMetadata.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/ContentBlock.js b/src/model/immutable/ContentBlock.js index 4dc1955c0b..7478ce3762 100644 --- a/src/model/immutable/ContentBlock.js +++ b/src/model/immutable/ContentBlock.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/ContentBlockNode.js b/src/model/immutable/ContentBlockNode.js index 0432f3932e..674f948c0c 100644 --- a/src/model/immutable/ContentBlockNode.js +++ b/src/model/immutable/ContentBlockNode.js @@ -4,15 +4,16 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow - * @emails oncall+draft_js - * * This file is a fork of ContentBlock adding support for nesting references by * providing links to children, parent, prevSibling, and nextSibling. * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/ContentStateRawType.js b/src/model/immutable/ContentStateRawType.js index a64609eb51..71104235e6 100644 --- a/src/model/immutable/ContentStateRawType.js +++ b/src/model/immutable/ContentStateRawType.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/DefaultDraftBlockRenderMap.js b/src/model/immutable/DefaultDraftBlockRenderMap.js index 8e930de91d..7a88e3769d 100644 --- a/src/model/immutable/DefaultDraftBlockRenderMap.js +++ b/src/model/immutable/DefaultDraftBlockRenderMap.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/DefaultDraftInlineStyle.js b/src/model/immutable/DefaultDraftInlineStyle.js index 20f141982e..e1003b5758 100644 --- a/src/model/immutable/DefaultDraftInlineStyle.js +++ b/src/model/immutable/DefaultDraftInlineStyle.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/DraftBlockRenderConfig.js b/src/model/immutable/DraftBlockRenderConfig.js index 2623761e75..1060573e43 100644 --- a/src/model/immutable/DraftBlockRenderConfig.js +++ b/src/model/immutable/DraftBlockRenderConfig.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/DraftBlockRenderMap.js b/src/model/immutable/DraftBlockRenderMap.js index ef9cee511d..ad59902e29 100644 --- a/src/model/immutable/DraftBlockRenderMap.js +++ b/src/model/immutable/DraftBlockRenderMap.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/DraftInlineStyle.js b/src/model/immutable/DraftInlineStyle.js index 3d3f227857..5151ac94b2 100644 --- a/src/model/immutable/DraftInlineStyle.js +++ b/src/model/immutable/DraftInlineStyle.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/EditorBidiService.js b/src/model/immutable/EditorBidiService.js index 2f1cb0cf4e..3fb7152a0a 100644 --- a/src/model/immutable/EditorBidiService.js +++ b/src/model/immutable/EditorBidiService.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/EditorChangeType.js b/src/model/immutable/EditorChangeType.js index 16c228941f..1f5fd5f7f6 100644 --- a/src/model/immutable/EditorChangeType.js +++ b/src/model/immutable/EditorChangeType.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/EditorState.js b/src/model/immutable/EditorState.js index 73ca4840de..331798ffd6 100644 --- a/src/model/immutable/EditorState.js +++ b/src/model/immutable/EditorState.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/EntityMap.js b/src/model/immutable/EntityMap.js index 80e502e2fc..bda07442de 100644 --- a/src/model/immutable/EntityMap.js +++ b/src/model/immutable/EntityMap.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/SampleDraftInlineStyle.js b/src/model/immutable/SampleDraftInlineStyle.js index 8622ddccf4..5330999a05 100644 --- a/src/model/immutable/SampleDraftInlineStyle.js +++ b/src/model/immutable/SampleDraftInlineStyle.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/SelectionState.js b/src/model/immutable/SelectionState.js index bd0428b179..11bc505d5c 100644 --- a/src/model/immutable/SelectionState.js +++ b/src/model/immutable/SelectionState.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/BlockTree-test.js b/src/model/immutable/__tests__/BlockTree-test.js index f3f2220b78..7ca64dd8ef 100644 --- a/src/model/immutable/__tests__/BlockTree-test.js +++ b/src/model/immutable/__tests__/BlockTree-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/CharacterMetadata-test.js b/src/model/immutable/__tests__/CharacterMetadata-test.js index 40d29258ae..3a4575c97a 100644 --- a/src/model/immutable/__tests__/CharacterMetadata-test.js +++ b/src/model/immutable/__tests__/CharacterMetadata-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/ContentBlock-test.js b/src/model/immutable/__tests__/ContentBlock-test.js index aff27c4821..a44de0dbfb 100644 --- a/src/model/immutable/__tests__/ContentBlock-test.js +++ b/src/model/immutable/__tests__/ContentBlock-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/ContentBlockNode-test.js b/src/model/immutable/__tests__/ContentBlockNode-test.js index a01815eb69..965b42789e 100644 --- a/src/model/immutable/__tests__/ContentBlockNode-test.js +++ b/src/model/immutable/__tests__/ContentBlockNode-test.js @@ -5,8 +5,9 @@ * LICENSE file in the root directory of this source tree. * * @emails oncall+draft_js - * @format * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/ContentState-test.js b/src/model/immutable/__tests__/ContentState-test.js index fe7196f522..45fdfbc603 100644 --- a/src/model/immutable/__tests__/ContentState-test.js +++ b/src/model/immutable/__tests__/ContentState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/EditorBidiService-test.js b/src/model/immutable/__tests__/EditorBidiService-test.js index 949630204b..0d12374e90 100644 --- a/src/model/immutable/__tests__/EditorBidiService-test.js +++ b/src/model/immutable/__tests__/EditorBidiService-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/EditorState-test.js b/src/model/immutable/__tests__/EditorState-test.js index edac1614b4..c4aadadd6e 100644 --- a/src/model/immutable/__tests__/EditorState-test.js +++ b/src/model/immutable/__tests__/EditorState-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/SelectionState-test.js b/src/model/immutable/__tests__/SelectionState-test.js index 36a7367842..2e8a80b332 100644 --- a/src/model/immutable/__tests__/SelectionState-test.js +++ b/src/model/immutable/__tests__/SelectionState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/__tests__/findRangesImmutable-test.js b/src/model/immutable/__tests__/findRangesImmutable-test.js index e1e9009019..b804ad301e 100644 --- a/src/model/immutable/__tests__/findRangesImmutable-test.js +++ b/src/model/immutable/__tests__/findRangesImmutable-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/immutable/findRangesImmutable.js b/src/model/immutable/findRangesImmutable.js index 59723b393c..a2eb9fc855 100644 --- a/src/model/immutable/findRangesImmutable.js +++ b/src/model/immutable/findRangesImmutable.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/keys/generateRandomKey.js b/src/model/keys/generateRandomKey.js index e94d33ea4e..61816f10c2 100644 --- a/src/model/keys/generateRandomKey.js +++ b/src/model/keys/generateRandomKey.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/keys/mockUUID.js b/src/model/keys/mockUUID.js index bdeb461d56..acdda7855f 100644 --- a/src/model/keys/mockUUID.js +++ b/src/model/keys/mockUUID.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/AtomicBlockUtils.js b/src/model/modifier/AtomicBlockUtils.js index 350aed6c1c..99ef30f168 100644 --- a/src/model/modifier/AtomicBlockUtils.js +++ b/src/model/modifier/AtomicBlockUtils.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/DraftEntitySegments.js b/src/model/modifier/DraftEntitySegments.js index b8f930db69..840aad9fc2 100644 --- a/src/model/modifier/DraftEntitySegments.js +++ b/src/model/modifier/DraftEntitySegments.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/DraftModifier.js b/src/model/modifier/DraftModifier.js index 2c0c906a71..5d59ad725d 100644 --- a/src/model/modifier/DraftModifier.js +++ b/src/model/modifier/DraftModifier.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/DraftRange.js b/src/model/modifier/DraftRange.js index f18467d4f4..158bf794bf 100644 --- a/src/model/modifier/DraftRange.js +++ b/src/model/modifier/DraftRange.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict * @emails oncall+draft_js + * @flow strict + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/DraftRemovableWord.js b/src/model/modifier/DraftRemovableWord.js index 2793b5dab3..2317f4f9ee 100644 --- a/src/model/modifier/DraftRemovableWord.js +++ b/src/model/modifier/DraftRemovableWord.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/RichTextEditorUtil.js b/src/model/modifier/RichTextEditorUtil.js index 68a0cd281f..c90d0c821b 100644 --- a/src/model/modifier/RichTextEditorUtil.js +++ b/src/model/modifier/RichTextEditorUtil.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/RichTextUtils.js b/src/model/modifier/RichTextUtils.js index a9e775d0a2..0d7a7ac3ec 100644 --- a/src/model/modifier/RichTextUtils.js +++ b/src/model/modifier/RichTextUtils.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ import type ContentState from 'ContentState'; diff --git a/src/model/modifier/__tests__/AtomicBlockUtils-test.js b/src/model/modifier/__tests__/AtomicBlockUtils-test.js index 25cc0020dc..401cbfb63c 100644 --- a/src/model/modifier/__tests__/AtomicBlockUtils-test.js +++ b/src/model/modifier/__tests__/AtomicBlockUtils-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/__tests__/DraftRemovableWord-test.js b/src/model/modifier/__tests__/DraftRemovableWord-test.js index e84f82f010..45847df818 100644 --- a/src/model/modifier/__tests__/DraftRemovableWord-test.js +++ b/src/model/modifier/__tests__/DraftRemovableWord-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/__tests__/RichTextEditorUtil-test.js b/src/model/modifier/__tests__/RichTextEditorUtil-test.js index 58a67c7024..a975e40980 100644 --- a/src/model/modifier/__tests__/RichTextEditorUtil-test.js +++ b/src/model/modifier/__tests__/RichTextEditorUtil-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ const AtomicBlockUtils = require('AtomicBlockUtils'); diff --git a/src/model/modifier/exploration/DraftTreeOperations.js b/src/model/modifier/exploration/DraftTreeOperations.js index 569f66400a..715648ffa8 100644 --- a/src/model/modifier/exploration/DraftTreeOperations.js +++ b/src/model/modifier/exploration/DraftTreeOperations.js @@ -4,12 +4,13 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local - * @emails oncall+draft_js - * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ import type {BlockMap} from 'BlockMap'; import type {BlockNodeKey} from 'BlockNode'; diff --git a/src/model/modifier/exploration/NestedRichTextEditorUtil.js b/src/model/modifier/exploration/NestedRichTextEditorUtil.js index 899a5e6f6a..d93dbbbcbe 100644 --- a/src/model/modifier/exploration/NestedRichTextEditorUtil.js +++ b/src/model/modifier/exploration/NestedRichTextEditorUtil.js @@ -4,12 +4,13 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow - * @emails oncall+draft_js - * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ import type {BlockMap} from 'BlockMap'; import type ContentState from 'ContentState'; diff --git a/src/model/modifier/exploration/__tests__/DraftTreeOperations-test.js b/src/model/modifier/exploration/__tests__/DraftTreeOperations-test.js index aa9a33bc88..de1d8a4e2e 100644 --- a/src/model/modifier/exploration/__tests__/DraftTreeOperations-test.js +++ b/src/model/modifier/exploration/__tests__/DraftTreeOperations-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/exploration/__tests__/NestedRichTextEditorUtil-test.js b/src/model/modifier/exploration/__tests__/NestedRichTextEditorUtil-test.js index afcfeaccb2..8622b088be 100644 --- a/src/model/modifier/exploration/__tests__/NestedRichTextEditorUtil-test.js +++ b/src/model/modifier/exploration/__tests__/NestedRichTextEditorUtil-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ jest.mock('generateRandomKey'); diff --git a/src/model/modifier/getCharacterRemovalRange.js b/src/model/modifier/getCharacterRemovalRange.js index 13b10b1746..5c797b93d2 100644 --- a/src/model/modifier/getCharacterRemovalRange.js +++ b/src/model/modifier/getCharacterRemovalRange.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/modifier/getRangesForDraftEntity.js b/src/model/modifier/getRangesForDraftEntity.js index d38ecf6144..f222ba2b80 100644 --- a/src/model/modifier/getRangesForDraftEntity.js +++ b/src/model/modifier/getRangesForDraftEntity.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/paste/DraftPasteProcessor.js b/src/model/paste/DraftPasteProcessor.js index 13a7c5610c..309cd53c45 100644 --- a/src/model/paste/DraftPasteProcessor.js +++ b/src/model/paste/DraftPasteProcessor.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/paste/__mocks__/getSafeBodyFromHTML.js b/src/model/paste/__mocks__/getSafeBodyFromHTML.js index 5cd0a83b2a..7e488202e9 100644 --- a/src/model/paste/__mocks__/getSafeBodyFromHTML.js +++ b/src/model/paste/__mocks__/getSafeBodyFromHTML.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ // THIS IS PURELY A MOCK TO GET AROUND THE TEST FRAMEWORK diff --git a/src/model/paste/__tests__/DraftPasteProcessor-test.js b/src/model/paste/__tests__/DraftPasteProcessor-test.js index bc2fb9d4b0..e15196b952 100644 --- a/src/model/paste/__tests__/DraftPasteProcessor-test.js +++ b/src/model/paste/__tests__/DraftPasteProcessor-test.js @@ -6,6 +6,7 @@ * * @emails oncall+draft_js * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/paste/getSafeBodyFromHTML.js b/src/model/paste/getSafeBodyFromHTML.js index 3c566b7d79..cdbad14c2e 100644 --- a/src/model/paste/getSafeBodyFromHTML.js +++ b/src/model/paste/getSafeBodyFromHTML.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/ContentStateInlineStyle.js b/src/model/transaction/ContentStateInlineStyle.js index 17571f3a78..bf39944a19 100644 --- a/src/model/transaction/ContentStateInlineStyle.js +++ b/src/model/transaction/ContentStateInlineStyle.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/ContentStateInlineStyle-test.js b/src/model/transaction/__tests__/ContentStateInlineStyle-test.js index e347bb20e4..62164f1f35 100644 --- a/src/model/transaction/__tests__/ContentStateInlineStyle-test.js +++ b/src/model/transaction/__tests__/ContentStateInlineStyle-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/applyEntityToContentBlock-test.js b/src/model/transaction/__tests__/applyEntityToContentBlock-test.js index 39aed81483..9a1460b92b 100644 --- a/src/model/transaction/__tests__/applyEntityToContentBlock-test.js +++ b/src/model/transaction/__tests__/applyEntityToContentBlock-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/applyEntityToContentState-test.js b/src/model/transaction/__tests__/applyEntityToContentState-test.js index af90514719..5521c49db6 100644 --- a/src/model/transaction/__tests__/applyEntityToContentState-test.js +++ b/src/model/transaction/__tests__/applyEntityToContentState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/getContentStateFragment-test.js b/src/model/transaction/__tests__/getContentStateFragment-test.js index 9ba0699df0..b955634651 100644 --- a/src/model/transaction/__tests__/getContentStateFragment-test.js +++ b/src/model/transaction/__tests__/getContentStateFragment-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/insertFragmentIntoContentState-test.js b/src/model/transaction/__tests__/insertFragmentIntoContentState-test.js index 72116b4404..c7640dd630 100644 --- a/src/model/transaction/__tests__/insertFragmentIntoContentState-test.js +++ b/src/model/transaction/__tests__/insertFragmentIntoContentState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/insertIntoList-test.js b/src/model/transaction/__tests__/insertIntoList-test.js index 4a3bc016e4..adff9174f4 100644 --- a/src/model/transaction/__tests__/insertIntoList-test.js +++ b/src/model/transaction/__tests__/insertIntoList-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/insertTextIntoContentState-test.js b/src/model/transaction/__tests__/insertTextIntoContentState-test.js index da79bad3dc..7c0e681d33 100644 --- a/src/model/transaction/__tests__/insertTextIntoContentState-test.js +++ b/src/model/transaction/__tests__/insertTextIntoContentState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/moveBlockInContentState-test.js b/src/model/transaction/__tests__/moveBlockInContentState-test.js index d498346919..465bd4523d 100644 --- a/src/model/transaction/__tests__/moveBlockInContentState-test.js +++ b/src/model/transaction/__tests__/moveBlockInContentState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/randomizeBlockMapKeys-test.js b/src/model/transaction/__tests__/randomizeBlockMapKeys-test.js index 180fe414df..58a4884569 100644 --- a/src/model/transaction/__tests__/randomizeBlockMapKeys-test.js +++ b/src/model/transaction/__tests__/randomizeBlockMapKeys-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/removeEntitiesAtEdges-test.js b/src/model/transaction/__tests__/removeEntitiesAtEdges-test.js index d5201153a2..ca27016b43 100644 --- a/src/model/transaction/__tests__/removeEntitiesAtEdges-test.js +++ b/src/model/transaction/__tests__/removeEntitiesAtEdges-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/removeRangeFromContentState-test.js b/src/model/transaction/__tests__/removeRangeFromContentState-test.js index ea8deedeff..b24add2d23 100644 --- a/src/model/transaction/__tests__/removeRangeFromContentState-test.js +++ b/src/model/transaction/__tests__/removeRangeFromContentState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/__tests__/splitBlockInContentState-test.js b/src/model/transaction/__tests__/splitBlockInContentState-test.js index 73a3106e80..4a142ba3e1 100644 --- a/src/model/transaction/__tests__/splitBlockInContentState-test.js +++ b/src/model/transaction/__tests__/splitBlockInContentState-test.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/adjustBlockDepthForContentState.js b/src/model/transaction/adjustBlockDepthForContentState.js index 8b1de3aee7..8e4edc1341 100644 --- a/src/model/transaction/adjustBlockDepthForContentState.js +++ b/src/model/transaction/adjustBlockDepthForContentState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/applyEntityToContentBlock.js b/src/model/transaction/applyEntityToContentBlock.js index 181515b9b0..0df0f4f058 100644 --- a/src/model/transaction/applyEntityToContentBlock.js +++ b/src/model/transaction/applyEntityToContentBlock.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/applyEntityToContentState.js b/src/model/transaction/applyEntityToContentState.js index e827f6abcc..d5977f1675 100644 --- a/src/model/transaction/applyEntityToContentState.js +++ b/src/model/transaction/applyEntityToContentState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/exploration/__tests__/getNextDelimiterBlockKey-test.js b/src/model/transaction/exploration/__tests__/getNextDelimiterBlockKey-test.js index 744166ac69..c7813a2196 100644 --- a/src/model/transaction/exploration/__tests__/getNextDelimiterBlockKey-test.js +++ b/src/model/transaction/exploration/__tests__/getNextDelimiterBlockKey-test.js @@ -5,8 +5,9 @@ * LICENSE file in the root directory of this source tree. * * @emails oncall+draft_js - * @format * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/exploration/getNextDelimiterBlockKey.js b/src/model/transaction/exploration/getNextDelimiterBlockKey.js index a915335387..20ac490bb9 100644 --- a/src/model/transaction/exploration/getNextDelimiterBlockKey.js +++ b/src/model/transaction/exploration/getNextDelimiterBlockKey.js @@ -4,12 +4,13 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow - * @emails oncall+draft_js - * * This is unstable and not part of the public API and should not be used by * production systems. This file may be update/removed without notice. + * + * @emails oncall+draft_js + * @flow + * @format + * @oncall draft_js */ import type {BlockMap} from 'BlockMap'; diff --git a/src/model/transaction/getContentStateFragment.js b/src/model/transaction/getContentStateFragment.js index f9c23ac734..d1163051b9 100644 --- a/src/model/transaction/getContentStateFragment.js +++ b/src/model/transaction/getContentStateFragment.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/getSampleStateForTesting.js b/src/model/transaction/getSampleStateForTesting.js index 551c1f7c34..7a3c26b9f7 100644 --- a/src/model/transaction/getSampleStateForTesting.js +++ b/src/model/transaction/getSampleStateForTesting.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/insertFragmentIntoContentState.js b/src/model/transaction/insertFragmentIntoContentState.js index 1732231602..4e2ffa4845 100644 --- a/src/model/transaction/insertFragmentIntoContentState.js +++ b/src/model/transaction/insertFragmentIntoContentState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/insertIntoList.js b/src/model/transaction/insertIntoList.js index cbae1326c8..93901bd65e 100644 --- a/src/model/transaction/insertIntoList.js +++ b/src/model/transaction/insertIntoList.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/insertTextIntoContentState.js b/src/model/transaction/insertTextIntoContentState.js index 3297a3983a..0afade1738 100644 --- a/src/model/transaction/insertTextIntoContentState.js +++ b/src/model/transaction/insertTextIntoContentState.js @@ -4,9 +4,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @flow strict-local * @emails oncall+draft_js + * @flow strict-local + * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/modifyBlockForContentState.js b/src/model/transaction/modifyBlockForContentState.js index e7ecd56141..72ff33c2db 100644 --- a/src/model/transaction/modifyBlockForContentState.js +++ b/src/model/transaction/modifyBlockForContentState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow strict-local * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/moveBlockInContentState.js b/src/model/transaction/moveBlockInContentState.js index c5f3e054fa..357bf757cd 100644 --- a/src/model/transaction/moveBlockInContentState.js +++ b/src/model/transaction/moveBlockInContentState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/randomizeBlockMapKeys.js b/src/model/transaction/randomizeBlockMapKeys.js index 94bd0e2c70..bb2eb29569 100644 --- a/src/model/transaction/randomizeBlockMapKeys.js +++ b/src/model/transaction/randomizeBlockMapKeys.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/removeEntitiesAtEdges.js b/src/model/transaction/removeEntitiesAtEdges.js index 47d4494ab9..292124a84c 100644 --- a/src/model/transaction/removeEntitiesAtEdges.js +++ b/src/model/transaction/removeEntitiesAtEdges.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/removeRangeFromContentState.js b/src/model/transaction/removeRangeFromContentState.js index afa9ff8435..2578bbbe49 100644 --- a/src/model/transaction/removeRangeFromContentState.js +++ b/src/model/transaction/removeRangeFromContentState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict'; diff --git a/src/model/transaction/splitBlockInContentState.js b/src/model/transaction/splitBlockInContentState.js index 7d3638d89b..8f25766c06 100644 --- a/src/model/transaction/splitBlockInContentState.js +++ b/src/model/transaction/splitBlockInContentState.js @@ -7,6 +7,7 @@ * @emails oncall+draft_js * @flow * @format + * @oncall draft_js */ 'use strict';