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

Commit

Permalink
Renames convertFromHTMLToContentBlocks2 to convertFromHTMLToContentBl…
Browse files Browse the repository at this point in the history
…ocks

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
  • Loading branch information
Claudio Procida authored and facebook-github-bot committed Jul 9, 2019
1 parent 2487e7d commit d08399b
Show file tree
Hide file tree
Showing 7 changed files with 4,185 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const SomeButton = require('SomeButton.react');
const SomeSelector = require('SomeSelector.react');
const SomeSelectorOption = require('SomeSelectorOption.react');
const convertFromRaw = require('convertFromRawToDraftState');
const convertFromHTML = require('convertFromHTMLToContentBlocks2');
const convertFromHTML = require('convertFromHTMLToContentBlocks');

type Props = any;
type State = any;
Expand Down
2 changes: 1 addition & 1 deletion src/Draft.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const generateRandomKey = require('generateRandomKey');
const getDefaultKeyBinding = require('getDefaultKeyBinding');
const getVisibleSelectionRect = require('getVisibleSelectionRect');

const convertFromHTML = require('convertFromHTMLToContentBlocks2');
const convertFromHTML = require('convertFromHTMLToContentBlocks');

const DraftPublic = {
Editor: DraftEditor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const ContentState = require('ContentState');
const EditorState = require('EditorState');
const SelectionState = require('SelectionState');

const convertFromHTMLToContentBlocks = require('convertFromHTMLToContentBlocks2');
const convertFromHTMLToContentBlocks = require('convertFromHTMLToContentBlocks');
const editOnCompositionStart = require('editOnCompositionStart');
const {Map} = require('immutable');

Expand Down
Loading

0 comments on commit d08399b

Please sign in to comment.