Skip to content

Commit b6f1261

Browse files
authored
Merge pull request #441 from Harbour-Enterprises/artem-HAR-9400
HAR-9400 - fix export issue
2 parents b8c37e1 + 72be84c commit b6f1261

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/super-editor/src/core/super-converter

packages/super-editor/src/core/super-converter/exporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ function translateMark(mark) {
11371137
break;
11381138

11391139
case 'highlight':
1140-
markElement.attributes['w:fill'] = attrs.color.substring(1);
1140+
markElement.attributes['w:fill'] = attrs.color?.substring(1);
11411141
markElement.attributes['w:color'] = 'auto';
11421142
markElement.attributes['w:val'] = 'clear';
11431143
markElement.name = 'w:shd';

0 commit comments

Comments
 (0)