Synap Editor version 2.8.0 added has been released with figure editing functions.
Please check the details below.
Starting with Synap Editor version 2.8.0, the import function and shape-related functions have been separated into external modules to lighten the editor script file.
To use the import function and shape-related functions as before, the following files should be additionally included.
To use the function of importing documents such as xlsx, docx, hwp, etc., include the SEDocModelParser module included under the editor package externals folder.
To import documents containing shapes or use the functions of the shapeEditor plugin, include the SEShapeManager module included under the editor package externals folder.
The function to insert and edit shapes in the editor as in MS Word has been added.
You can edit documents by effectively editing various elements such as positioning and resizing, rotation, color, borders, etc. as well as by inserting various shapes.
>> Using Shape Editor
The option to limit the extensions that can be imported has been added.
'editor.import.extensions' : ['doc', 'docx', 'hwp', 'hml', 'htm', 'html', 'txt', 'xls', 'xlsx']
The option has been added so that the font size list displayed on the toolbar can be set in the config file.
'editor.fontSize': [8, 9, 10, 11, 12, 14, 16, 18, 20, 24, 28, 32, 36, 40, 44, 48, 54, 60, 72, 80, 88, 96]
The option to set whether to use the layer editing handle has been added. If the setting value is false, the layer editing handles do not appear.
'editor.div.handle' : true
The following improvements have been made so that you can view the imported results of HWP and WORD documents more conveniently on mobile.
Media query allows you to resize the tables or images in the documents on the mobile screen to the desired shapes or scroll them.
Large HTML file import performance has been improved.
The Clear Format() function has been expanded and improved so that you can remove both text runs and paragraph formatting.
You can easily remove or edit various paragraph formats such as unnecessary line spacings and margins, etc.
The option to beautify and return HTML tags when calling the getPublishingHtml() function has been removed.
For more details on how to use the functions, you can refer to the API page.
Synap Editor hides default bullets and adopts customized bullets to support various types of bullets (customized bullets, multilevel bullets).
A setting function has been added to enable HTML standard bullets, if necessary.
Note: If you use this option, you cannot use the "Customized Bullets," "Multilevel Bullets" and "Specify the Starting Number of Bullets" functions.
Rendering for form elements has been improved. You can enter a value in the form element entered through the openHTML() function or Source Code View,
and the entered value can be saved through the getPublishingHtml() function.