Hi,
Whether you include the editor in the product details page or not, I think what you want is to create your own type of custom field as a plugin implementing the "fields API".
You can see an example of that in the folder plugins/hikashop/datepickerfield/
this plugin adds the "advanced date picker" type to the custom fields system.
So in a similar manner, the merchants using your plugin could create a new custom field of the table "item" and of your type (for example "design editor").
Then, your plugin would output the design editor as a custom item field on the product page, and if you have an input field with the correct "name" it would be saved together with the product when you add it to the cart and you will also be able to handle the "show" of the data saved in the custom field if you want to arrange it.
Of course, you could also have a deported editor (on another page for example with just a button displayed on the product details page to access the editor) and then have the add to cart button directly in your editor. Then, when pressed, you would save the data in a table of your editor in the database, and add the product to the cart with the id of the data in your table in a custom item field and then you could similarly control the "show" of the custom field to arrange it.
The only drawback in doing it like this is that the merchant using your design editor needs to have HikaShop Business to be able to create a custom item field but the big advantage is that you don't need to handle all the places where to attach the "show" of your data in the order. You can just implement the fields API.