Skip to content

Commit

Permalink
Fix bug #73111
Browse files Browse the repository at this point in the history
Fix crash when editing PDF
  • Loading branch information
KirillovIlya committed Feb 5, 2025
1 parent 5481508 commit 5053b4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/apiBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -5464,6 +5464,11 @@
baseEditorsApi.prototype.asc_mergeSelectedShapesAction = function(operation) {

};
baseEditorsApi.prototype.asc_setRtlTextDirection = function(isRtl) {
};
baseEditorsApi.prototype.asc_isRtlTextDirection = function() {
return false;
};

//----------------------------------------------------------export----------------------------------------------------
window['AscCommon'] = window['AscCommon'] || {};
Expand Down
5 changes: 5 additions & 0 deletions pdf/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2933,6 +2933,11 @@
PDFEditorApi.prototype.isLiveViewer = function() {
return this.isPdfViewer && AscCommon.CollaborativeEditing.Is_Fast() && !this.VersionHistory;
};
PDFEditorApi.prototype.asc_setRtlTextDirection = function(isRtl) {
};
PDFEditorApi.prototype.asc_isRtlTextDirection = function() {
return false;
};

function CPdfContextMenuData(obj) {
if (obj) {
Expand Down

0 comments on commit 5053b4f

Please sign in to comment.