Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit d08399b

Browse files
Claudio Procidafacebook-github-bot
authored andcommitted
Renames convertFromHTMLToContentBlocks2 to convertFromHTMLToContentBlocks
Summary: Renames `convertFromHTMLToContentBlocks2` to `convertFromHTMLToContentBlocks` to mark it the default. This diff has no functional changes. Reviewed By: mitermayer Differential Revision: D15845011 fbshipit-source-id: 6191e7d5e2de7b094077cea143dafe77a2210f59
1 parent 2487e7d commit d08399b

File tree

7 files changed

+4185
-5
lines changed

7 files changed

+4185
-5
lines changed

examples/draft-0-10-0/playground/src/DraftJsPlaygroundContainer.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const SomeButton = require('SomeButton.react');
2929
const SomeSelector = require('SomeSelector.react');
3030
const SomeSelectorOption = require('SomeSelectorOption.react');
3131
const convertFromRaw = require('convertFromRawToDraftState');
32-
const convertFromHTML = require('convertFromHTMLToContentBlocks2');
32+
const convertFromHTML = require('convertFromHTMLToContentBlocks');
3333

3434
type Props = any;
3535
type State = any;

src/Draft.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const generateRandomKey = require('generateRandomKey');
3535
const getDefaultKeyBinding = require('getDefaultKeyBinding');
3636
const getVisibleSelectionRect = require('getVisibleSelectionRect');
3737

38-
const convertFromHTML = require('convertFromHTMLToContentBlocks2');
38+
const convertFromHTML = require('convertFromHTMLToContentBlocks');
3939

4040
const DraftPublic = {
4141
Editor: DraftEditor,

src/component/handlers/composition/__tests__/DraftEditorCompostionHandler-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const ContentState = require('ContentState');
2222
const EditorState = require('EditorState');
2323
const SelectionState = require('SelectionState');
2424

25-
const convertFromHTMLToContentBlocks = require('convertFromHTMLToContentBlocks2');
25+
const convertFromHTMLToContentBlocks = require('convertFromHTMLToContentBlocks');
2626
const editOnCompositionStart = require('editOnCompositionStart');
2727
const {Map} = require('immutable');
2828

0 commit comments

Comments
 (0)