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

In some cases, such as copying code as text, when double -click the graphics editing text, the canvas will move down a section #198

Open
chenbihao opened this issue Feb 3, 2023 · 0 comments

Comments

@chenbihao
Copy link

In some cases, such as copying code as text, when double -click the graphics editing text, the canvas will move down a section
有些情况下,如复制代码为文本,双击图形编辑文本的时候,画布会往下移动一节

But when creating a native graphic text, it is normal
但是创建原生的图形文本时则正常

image

Video_20230203104214.mp4
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than diagrams.net -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="327px" height="251px" viewBox="-0.5 -0.5 327 251" content="&lt;mxfile host=&quot;drawio-plugin&quot; modified=&quot;2023-02-03T01:51:14.194Z&quot; agent=&quot;5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.45 Safari/537.36&quot; etag=&quot;f8jzuCgxVeMHpCp0xmWe&quot; version=&quot;20.5.3&quot; type=&quot;embed&quot;&gt;&lt;diagram id=&quot;23iRSUPoRavnBvh4doch&quot; name=&quot;Page-1&quot;&gt;xVRNU4MwEP01zOhBpyQjpUeh1V489eA5hS3ECQRDWqi/3nzxkdo63rxA8nZfdt8muwFOq/5VkKZ84zmwAC3yPsDrAKFwsVJfDZwtsFxEFigEzZ3PBOzoFwxEhx5pDq3nKDlnkjY+mPG6hkx6GBGCd77bgTM/akMK+AHsMsJ+ou80l6VFY7Sc8C3Qohwih5ETXJHB2SlpS5LzbgbhTYBTwbm0q6pPgenaDXWxvJcb1jExAbX8CwFZwomwo9MWoIgpatII0PnJsxMdfR51Uom3KtzfMA5cxVTVJJnP2AI7gaQZmVOvnKz5D6257GflEKKmvxqvK6HWlyuFUpJkRg2Y29Y/m4tSbNPxU1Sw0eWjt6SahA6kouxsU1ImUjXK4hw+QO4FoXWrr5bX/NIeoNRZ2sZUJTGvzZO5eoyb3+t6K72MMy7sIaLY35lHpuOFMXaLVXw/i/n/Sq6X/xJFnlok+LHOQb/Xhbl8KmFnc1h3aroorJQVU7twZJ9ASOhvtkQ4NpoaUMArkOKsXMbptIwtx00nhF2zdlOvY+QmVjnrc/TkHImbL8V4+NSCauG6cNhO3W5ss5GJN98=&lt;/diagram&gt;&lt;/mxfile&gt;"><defs/><g><rect x="0" y="0" width="326" height="250" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 324px; height: 1px; padding-top: 125px; margin-left: 1px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><pre style=""><font style="font-size: 12px;" face="Helvetica">when ctrl+c ide code</font></pre><pre style="font-family: &quot;jetbrains mono&quot;, monospace; font-size: 9.8pt;"><pre style="color: rgb(169, 183, 198); font-family: &quot;jetbrains mono&quot;, monospace; font-size: 9.8pt;"></pre></pre></div></div></div></foreignObject><text x="163" y="129" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">when ctrl+c ide code&#xa;</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant