Comments (8)
@imnik11 this may be fixed when we migrate to Slate v0.57
, being tracked here and here.
from web-components.
I can reproduce this in the Markdown Editor - so it's nothing to do with the Contract Editor.
from web-components.
It is due to the improper text selection. Actually while text selection the bulleted list or the numbered list is getting selected. It works fine in both cicero-ui and markdown editor when I select the structure without selecting the bullet list or numbered list. As you have selected in the markdown editor. Even the markdown editor also does not preserves the selected structure when numbered or bulleted list is selected
this is the snippet of markdown editor I which at end you can observe when I selected the text the bulleted list got seleted and when I clicked the quote it did not preserved the nested structure
In cicero ui I observe when the selected text where bulleted list is not selected then it is preserved
from web-components.
accordproject/cicero-ui#357 (and accordproject/markdown-editor#297) has been finished, so there is no longer a blocker on this issue. The migration may have solved this issue, so look into that first.
from web-components.
No the issue still persist. I think it is due to the selection of bulleted list / numbered list while quoting as shown in the markdown editor
https://user-images.githubusercontent.com/45528152/78009656-f8696c00-735e-11ea-96dd-aec62f3f7e03.gif
and ciceri ui
https://user-images.githubusercontent.com/45528152/78010554-1e434080-7360-11ea-82e2-8b93c93c6118.gif
from web-components.
Alright thanks for checking! I think this issue is just in markdown-editor
, which is where we would be handling this logic. Moving it there.
from web-components.
Update: still persists.
from web-components.
I can reproduce this in the Markdown Editor - so it's nothing to do with the Contract Editor.
Original issue was filed pre-slate 0.57 pre-web-components
from web-components.
Related Issues (20)
- Magic Shortcuts for Markdown HOT 5
- installation error HOT 3
- Paragraphs above or below clause templates can't be deleted HOT 3
- Change markdown editor empty-state text HOT 4
- Overriding Default CSS
- web-components release 0.97 makes inconsistent assumptions about Concerto
- Adding Docstrings to the Project HOT 1
- Styling-Library HOT 11
- contract-editor error onChange: Cannot read property 'focus' of null HOT 5
- Change in Demo Text Of Markdown Editor HOT 2
- Adding Background In Inline Code HOT 6
- Heading Markdown Shortcut WYSIWYG (What You See Is What You Get) HOT 1
- npm install doesn't work for @accordproject/ui-markdown-editor HOT 5
- Undefined Nodes in some templates HOT 2
- Deployed github-page shows an Error 404 page. HOT 4
- Inline Markdown Shortcuts (WYSIWYG) HOT 2
- Update Readme HOT 1
- Formatting Button Error HOT 10
- [BUG]: Buttons not working HOT 4
- Implementation of PurgeCSS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-components.