Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions examples/draft-0-10-0/playground/src/App.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

:root {
--nav-main-height: 50px;
--main-background: #f7f7f7;
Expand Down
2 changes: 1 addition & 1 deletion examples/draft-0-10-0/playground/src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* @flow
* @format
Expand Down
4 changes: 4 additions & 0 deletions examples/draft-0-10-0/playground/src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/


.DraftJsPlaygroundContainer-container {
background: white;
display: flex;
Expand Down Expand Up @@ -75,4 +74,4 @@
.DraftJsPlaygroundContainer-stateViewer {
padding: 0px 20px;
text-align: left;
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* @flow
* @format
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

.DraftJsPlaygroundContainer-editor {
padding: 0;
background: #fff;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* @flow
* @format
Expand Down
4 changes: 4 additions & 0 deletions examples/draft-0-10-0/playground/src/GkManager.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

import querystring from 'querystring';

const QUERY_STRINGS = querystring.parse(window.location.search.substring(1));
Expand Down
5 changes: 4 additions & 1 deletion examples/draft-0-10-0/playground/src/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

body {
margin: 0;
padding: 0;
Expand All @@ -9,4 +13,3 @@ body {
height: 100vh;
width: 100%;
}

4 changes: 4 additions & 0 deletions examples/draft-0-10-0/playground/src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

import GkManager from './GkManager';
import React from 'react';
import ReactDOM from 'react-dom';
Expand Down
4 changes: 4 additions & 0 deletions examples/draft-0-10-0/rich/RichEditor.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

.RichEditor-root {
background: #fff;
border: 1px solid #ddd;
Expand Down
4 changes: 4 additions & 0 deletions examples/draft-0-10-0/tex/public/TeXEditor.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*/

.TeXEditor-root {
font-family: 'Century Schoolbook', serif;
-webkit-font-smoothing: antialiased;
Expand Down
3 changes: 1 addition & 2 deletions examples/draft-0-10-0/universal/client.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions examples/draft-0-10-0/universal/editor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions examples/draft-0-10-0/universal/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions examples/draft-0-9-1/universal/client.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions examples/draft-0-9-1/universal/editor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions examples/draft-0-9-1/universal/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions scripts/jest/hasteImpl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions scripts/jest/preprocessor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions scripts/jest/shims.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions scripts/module-map.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/Draft.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/__mocks__/generateRandomKey.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
2 changes: 2 additions & 0 deletions src/component/base/DraftEditor.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* @providesModule DraftEditor
* @permanent
*/
Expand Down
3 changes: 1 addition & 2 deletions src/component/base/DraftEditor.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
2 changes: 2 additions & 0 deletions src/component/base/DraftEditorPlaceholder.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* @providesModule DraftEditorPlaceholder
* @permanent
*/
Expand Down
3 changes: 1 addition & 2 deletions src/component/base/DraftEditorPlaceholder.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/base/DraftEditorProps.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/base/DraftScrollPosition.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/base/DraftTextAlignment.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/base/__tests__/DraftEditor.react-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/contents/DraftEditorBlock.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/contents/DraftEditorContents-core.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/contents/DraftEditorLeaf.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/contents/DraftEditorTextNode.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/contents/__tests__/DraftEditorTextNode-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/contents/exploration/DraftEditorNode.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/handlers/DraftEditorModes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
3 changes: 1 addition & 2 deletions src/component/handlers/drag/DraftEditorDragHandler.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
Expand Down
Loading