You can find my open-source projects on this page. Most projects are also hosted on jfhr.de/source.
Read my blog, if you like: jfhr.me
Reach out: [email protected]
Convert quill deltas to and from other formats
Home Page: https://npmjs.com/package/deltaconvert
License: Apache License 2.0
You can find my open-source projects on this page. Most projects are also hosted on jfhr.de/source.
Read my blog, if you like: jfhr.me
Reach out: [email protected]
Videos should be supported in deltaToHtml
, deltaToNpf
, htmlToDelta
, and npfToDelta
.
Considerations:
<src>
elements. We could always pick the first onemedia { type, url }
for videos that can be played natively, embed_html
, embed_iframe
, embed_url
and url
. url
would always work but we could add extra logic for some known providers (e.g. youtube)<iframe>
s with class ql-video
. We should treat these like <video>
s, using the <src>
attribute as the video urlTodo:
deltaToHtml
htmlToDelta
npfToDelta
deltaToNpf
Objects of the form { insert: "foo", attributes: { code: true, /*...*/ } }
should be converted into <code>foo</code>
, or the equivalent on other platforms
Example:
deltaToIntermediate({
ops: [
{ insert: 'found this for you:\n\n' },
{
insert: 'nasa.gov',
attributes: { link: 'https://www.nasa.gov' }
},
{ insert: '\n\n' }
]
});
Expected: two seperate block inserts, one with 'found this for you:', one with the link.
Got: everything in one block insert
SSML is an XML format for speech synthesis. See here.
At a minimum we should support:
<speak>
element<emphasis>
(only full sentences)<p>
elements<s>
elements, although most TTS engines should be able to split sentences on their ownI don't see the use case for the reverse (ssmlToDelta
), so that's not part of this PR
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.