coralproject / rte Goto Github PK
View Code? Open in Web Editor NEWA Lightweight Rich Text Editor based on React
License: Other
A Lightweight Rich Text Editor based on React
License: Other
We've run into some unexpected behaviors on Talk v6.9.1 but around the syncLinkHrefWithContent
in this codebase.
Expected behavior:
When a user enters www.example.com
and hits the space key, the text should be linkified as <a href="http://www.example.com">www.example.com</a>
.
Actual behavior:
The text is linkified as <a href="www.example.com">www.example.com</a>
. (relative link)
This doesn't happen in Squire, however syncLinkHrefWithContent
doesn't seem to take into account the case when the text content doesn't have a protocol part.
Here's another somewhat related case.
Expected behavior:
When a user enters http://www.example.com
and hits the space key, the text is linkified as <a href="http://www.example.com">www.example.com</a>
which is good. Then they place a cursor after http://
and delete ://
, the href should be updated with href="http://httpwww.example.com"
.
Actual behavior:
The href is updated with href="httpwww.example.com"
.
An expected behavior in this case may be controvertible, but generating a relative link doesn't seem to make sense.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.