devexpress-richedit 24.1.13-build-25142-0103 → 24.1.13-build-25156-0103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dx.richedit.js
CHANGED
@@ -22922,15 +22922,16 @@ class Field {
|
|
22922
22922
|
return newInterval.start = Field.correctIntervalDueToFieldsCaseSelectionCollapsed(subDocument.fields, newInterval.start);
|
22923
22923
|
const indexesInterval = Field.correctIntervalDueToFieldsWithoutUiChecks(subDocument, newInterval);
|
22924
22924
|
utils_list.ListUtils.forEach(fields, (field) => {
|
22925
|
-
if (field.getResultInterval().equals(newInterval) && !this.
|
22925
|
+
if (field.getResultInterval().equals(newInterval) && !this.isResizableObjectSelected(subDocument, newInterval))
|
22926
22926
|
newInterval.expand(field.getAllFieldInterval());
|
22927
22927
|
}, indexesInterval.start, indexesInterval.end);
|
22928
22928
|
}
|
22929
|
-
static
|
22929
|
+
static isResizableObjectSelected(subDocument, interval) {
|
22930
22930
|
if (interval.length !== 1)
|
22931
22931
|
return false;
|
22932
22932
|
const run = subDocument.getRunByPosition(interval.start);
|
22933
|
-
|
22933
|
+
const runType = run && run.getType();
|
22934
|
+
return runType == RunType.AnchoredPictureRun || runType == RunType.AnchoredTextBoxRun || runType == RunType.InlinePictureRun;
|
22934
22935
|
}
|
22935
22936
|
static correctWhenPositionInStartCode(fields, position) {
|
22936
22937
|
if (fields.length < 1)
|