Save selection text and show it later in html and javascript

后端 未结 8 901
悲哀的现实
悲哀的现实 2020-12-14 18:39

I have a difficult situation with html and javascript. My html page allows user to select text and highlight it with colors. Now I want to save the state into database to sh

8条回答
  •  既然无缘
    2020-12-14 18:54

    First Example :

    
     
    

    Second Example

    
        
    
    
        Some text for selection.
        



    Select some content on this page!

    Third Example :

    
        
    
    
        
        
    

提交回复
热议问题