You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/10/09 01:30:51 UTC

[GitHub] [echarts] Anyway521 opened a new issue #15838: In the editor of Echarts example, pasting a long code will cause the page to be stuck directly.

Anyway521 opened a new issue #15838:
URL: https://github.com/apache/echarts/issues/15838


   ### Version
   5.2.1
   
   ### Steps to reproduce
   打开一个echarts示例,往js编辑器中添加一个<svg>标签,如: 
   ``` html
   <svg t="1633742958620" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4198" width="128" height="128"><path d="M636.79 111.05L743.16 111.05a65.46 65.46 0 0 1 65.46000001 65.46L808.62 340.16000001l-57.28-1e-8 0-139.1a32.73 32.73 0 0 0-32.73-32.73l-81.82999999 0z m-401 229.11l0-163.65a65.46 65.46 0 0 1 65.46-65.46L407.67 111.05l0 57.28-81.83000001 0a32.73 32.73 0 0 0-32.72999999 32.73l1e-8 139.1zM407.67 912.95L301.3 912.95a65.46 65.46 0 0 1-65.46-65.46l0-163.65 57.27000001 0-1e-8 139.1a32.73 32.73 0 0 0 32.72999999 32.73l81.83000001 0z m229.11 0l1e-8-57.28 81.82999999 0a32.73 32.73 0 0 0 32.73-32.73l0-139.1 57.28-1e-8L808.62000001 847.49a65.46 65.46 0 0 1-65.46000001 65.46z" fill="#323232" p-id="4199"></path><path d="M579.51 912.95l-114.56 0 0-57.27999999L579.51 855.67zM579.51 168.33l-114.56-1e-8 0-57.27999999L579.51 111.05zM70 489.36a20.45 20.45 0 0 0 0 28.93L172.28 620.57a20.45 20.45 0 1 0 28.93-28.93l-67.36-67.36L272.66 524.28a20.46 20.
 46 0 1 0 1e-8-40.91l-138.82000001 0L201.2 416a20.45 20.45 0 1 0-28.93-28.93zM954 518.28a20.45 20.45 0 0 0 0-28.93l-102.28-102.28A20.45 20.45 0 1 0 822.8 416l67.36 67.36-138.82 0a20.46 20.46 0 1 0-1e-8 40.91L890.16 524.27l-67.36 67.36a20.45 20.45 0 1 0 28.93 28.93z" fill="#323232" p-id="4200"></path></svg>
   ```
   
   ### What is expected?
   编辑器依然可以正常运行
   
   ### What is actually happening?
   页面卡死  
   ![GIF 2021-10-9 9-23-13](https://user-images.githubusercontent.com/43142096/136639126-619c14df-d3ac-489f-940a-2b103c1594f4.gif)
   
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Ovilia closed issue #15838: In the editor of Echarts example, pasting a long code will cause the page to be stuck directly.

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #15838:
URL: https://github.com/apache/echarts/issues/15838


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #15838: In the editor of Echarts example, pasting a long code will cause the page to be stuck directly.

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15838:
URL: https://github.com/apache/echarts/issues/15838#issuecomment-939200309






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Ovilia commented on issue #15838: In the editor of Echarts example, pasting a long code will cause the page to be stuck directly.

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #15838:
URL: https://github.com/apache/echarts/issues/15838#issuecomment-939260850


   这是 js 代码的编辑器,不是 html,为什么要输入一个 svg 的内容?就像你硬要写个死循环,那也是没办法阻止它卡住的。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Anyway521 commented on issue #15838: In the editor of Echarts example, pasting a long code will cause the page to be stuck directly.

Posted by GitBox <gi...@apache.org>.
Anyway521 commented on issue #15838:
URL: https://github.com/apache/echarts/issues/15838#issuecomment-939261573


   > 这是 js 代码的编辑器,不是 html,为什么要输入一个 svg 的内容?就像你硬要写个死循环,那也是没办法阻止它卡住
   
   ok,我应该先把svg转成path型的写法,这样就没有问题了。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org