List gets lost when updating data
See original GitHub issueI have this string defined in the vue data:
<p><strong>Lorem Ipsum</strong></p>
<p>This is a test blah blah blah</p>
<ul>
<li>LIst item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ul>
when I do @editor-updated=“handleContent” //method handleContent = funcion(value){this.content = value}
The returned value doesn’t have the list in it:
<p><strong>Lorem Ipsum</strong></p><p>
</p><p>This is a test blah blah blah</p><p>
</p><p>
</p>
Is it the plugin that’s stripping the list out?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Changed List Field data lost - Community @ ShotGrid
I changed the list items in a field thinking it was specific to the project and it changed it for all projects erasing...
Read more >Modern List Item UI Causes Data Loss
I'm working in SharePoint Online using the modern experience, and I have a custom list with 15 fields.
Read more >SwiftUI List not updating when changing data in sub-view
SwiftUI List not updating when changing data in sub-view ... am curious if I am missing something obvious, why the list view is...
Read more >Sorting by column is lost when data is updated #2252 - GitHub
Right before you update the data, check the tableRef.current.state . If the default sorting changed, save the orderBy and orderDirection values ...
Read more >Lost Android Data After Update? Easy and Effective Ways To ...
Method 1: Get Back Deleted Data From Google Backup · You can see the list of files saved on it. Select the files...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@davidroyer It looks like the problem occurs, when the text has some whitespace between the list items, like
<ul><li>Test</li> some whitespace characters <li>Link2</li></ul>
In my case, I used after changing like this.
PHP
$html = preg_replace("/>\s+</","><", $html);
I think you guys can be processing with regex even other language until it is resolved.