Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text nodes lose after save to SVG #1709

Closed
evgeniiFrolov1 opened this issue Sep 1, 2022 · 2 comments
Closed

Text nodes lose after save to SVG #1709

evgeniiFrolov1 opened this issue Sep 1, 2022 · 2 comments
Assignees
Labels
external Issue depends on external services such as Indigo service
Milestone

Comments

@evgeniiFrolov1
Copy link
Collaborator

Steps to Reproduce

  1. run Ketcher
  2. load structure from an attached file.
  3. click to save
  4. select file format "SVG Document"

Expected behavior
Structure saves as is.

Actual behavior
Structure saves without any text nodes

Screenshots
image
image

for SA
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Ketcher version
2.5.2

Additional context
Add any other context about the problem here.

@evgeniiFrolov1 evgeniiFrolov1 self-assigned this Sep 1, 2022
@evgeniiFrolov1 evgeniiFrolov1 added external Issue depends on external services such as Indigo service and removed feature request labels Sep 1, 2022
@evgeniiFrolov1
Copy link
Collaborator Author

{
"root": {
"nodes": [
{
"$ref": "mol0"
},
{
"$ref": "mol1"
},
{
"type": "arrow",
"data": {
"mode": "open-angle",
"pos": [
{
"x": 10.049999999999999,
"y": -2.449999999999999,
"z": 0
},
{
"x": 12.05,
"y": -2.449999999999999,
"z": 0
}
]
}
},
{
"type": "text",
"data": {
"content": "{"blocks":[{"key":"6ehda","text":"100 ℃","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}}],"entityMap":{}}",
"position": {
"x": 10.475,
"y": -1.7999999999999994,
"z": 0
}
}
}
]
},
"mol0": {
"type": "molecule",
"atoms": [
{
"label": "O",
"location": [
13.049999904632568,
-2.3749999999999996,
0
]
}
],
"stereoFlagPosition": {
"x": 13.049999904632568,
"y": 1.3750000000000004,
"z": 0
}
},
"mol1": {
"type": "molecule",
"atoms": [
{
"label": "O",
"location": [
7.85,
-2.3749999999999996,
0
]
},
{
"label": "O",
"location": [
8.85,
-2.3749999999999996,
0
]
}
],
"bonds": [
{
"type": 1,
"atoms": [
0,
1
]
}
],
"stereoFlagPosition": {
"x": 10.475,
"y": 0.7999999999999994,
"z": 0
}
}
}

@evgeniiFrolov1 evgeniiFrolov1 added this to the Release 2.5.3 milestone Sep 1, 2022
@evgeniiFrolov1
Copy link
Collaborator Author

fixed in 1.8 epam/Indigo#619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issue depends on external services such as Indigo service
Projects
None yet
Development

No branches or pull requests

2 participants