| Index: third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
| index ab934f989cef88fdb8438fb2723a6b11ecab012d..e067f8b2920980bdb42846b43162d82976726f0c 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
| @@ -191,7 +191,7 @@ void InsertTextCommand::doApply(EditingState* editingState)
|
|
|
| Position endPosition;
|
|
|
| - if (m_text == "\t") {
|
| + if (m_text == "\t" && isRichlyEditablePosition(startPosition)) {
|
| endPosition = insertTab(startPosition, editingState);
|
| if (editingState->isAborted())
|
| return;
|
|
|