Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/wincloud_gateway/node_modules/draft-js/lib/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*
* @emails oncall+draft_js
*
* This is unstable and not part of the public API and should not be used by
* production systems. This file may be update/removed without notice.
*/
var ContentBlockNode = require("./ContentBlockNode");
var getNextDelimiterBlockKey = function getNextDelimiterBlockKey(block, blockMap) {
var isExperimentalTreeBlock = block instanceof ContentBlockNode;
if (!isExperimentalTreeBlock) {
return null;
}
var nextSiblingKey = block.getNextSiblingKey();
if (nextSiblingKey) {
return nextSiblingKey;
}
var parent = block.getParentKey();
if (!parent) {
return null;
}
var nextNonDescendantBlock = blockMap.get(parent);
while (nextNonDescendantBlock && !nextNonDescendantBlock.getNextSiblingKey()) {
var parentKey = nextNonDescendantBlock.getParentKey();
nextNonDescendantBlock = parentKey ? blockMap.get(parentKey) : null;
}
if (!nextNonDescendantBlock) {
return null;
}
return nextNonDescendantBlock.getNextSiblingKey();
};
module.exports = getNextDelimiterBlockKey; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0051 ]-- |