diff options
Diffstat (limited to 'Source/WebCore/editing/SplitTextNodeContainingElementCommand.cpp')
-rw-r--r-- | Source/WebCore/editing/SplitTextNodeContainingElementCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/editing/SplitTextNodeContainingElementCommand.cpp b/Source/WebCore/editing/SplitTextNodeContainingElementCommand.cpp index 8c90fb0..7b9fd2a 100644 --- a/Source/WebCore/editing/SplitTextNodeContainingElementCommand.cpp +++ b/Source/WebCore/editing/SplitTextNodeContainingElementCommand.cpp @@ -48,7 +48,7 @@ void SplitTextNodeContainingElementCommand::doApply() splitTextNode(m_text.get(), m_offset); Element* parent = m_text->parentElement(); - if (!parent || !parent->parentElement() || !parent->parentElement()->isContentEditable()) + if (!parent || !parent->parentElement() || !parent->parentElement()->rendererIsEditable()) return; RenderObject* parentRenderer = parent->renderer(); |