/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the Chameleon License found in the * LICENSE file in the root directory of this source tree. * * */ .ImageNode__contentEditable { min-height: 20px; border: 0px; resize: none; cursor: text; caret-color: rgb(5, 5, 5); display: block; position: relative; outline: 0px; padding: 10px; user-select: text; font-size: 12px; width: calc(100% - 20px); white-space: pre-wrap; word-break: break-word; } .ImageNode__placeholder { font-size: 12px; color: #888; overflow: hidden; position: absolute; text-overflow: ellipsis; top: 10px; left: 10px; user-select: none; white-space: nowrap; display: inline-block; pointer-events: none; } .image-control-wrapper--resizing { touch-action: none; }