Comments (6)
If paste-md
is using paste-html
logic, the latter can then be a dependency of paste-md
, so I would say we can let the deserialize
function inside paste-html
?
from plate.
I think what we can do is to use the same deserializer from paste-html for now. until we improve it (reference: #75)
so I guess we need to tkae out the deserialize
function out of both plugins? how would you prefer share that code between them? or we copy the paste-html function for now until we improve it??
from plate.
@zbeyens sounds good to me!, I will change it!
from plate.
is there an example of a plugin that depends on other plugin? should I import the function from teh relative path or how should I define the import?
cc @zbeyens
from plate.
@horacioh just use the auto import (relative is okay as we have only one package for now) :)
from plate.
We can refactor common code from deserialize.ts
to a folder named deserializer
used by both paste-html
and paste-md
from plate.
Related Issues (20)
- Server Endpoint for Converting HTML to Plate format HOT 1
- insertNodes api causing uncertain behaviour. HOT 3
- Unable to go to new line on list items HOT 2
- Official website download has incomplete dependencies HOT 1
- Type `PlateElementProps` is broken
- Command is invalid, when I install emoji-combobox in platejs.org HOT 2
- This is not zustand-x... HOT 1
- Regression: `serializeHtml` now 10x slower HOT 4
- zIndex bug in `SiteHeader, FixedToolbar`
- Running a jest test generates `Cannot find module '@udecode/plate-core/server'` error HOT 2
- can not get the value of excalidraw HOT 1
- Can't turn text into link
- Tel link doesn't work Link Plugin HOT 2
- Block drag handle not clearly visible, submits form on click, and tooltip gets clipped. HOT 1
- [Bug:] The floating toolbar overlaps the sidebar for small screen mobile devices
- Exalidraw Plugin: Content is not saved
- Bug : Determining the Correct Type of block
- Error message: Module not found: Can't resolve '@ udecode/cn'
- I want to build for each package, but when I execute the yarn build An error occurred HOT 1
- The placeholder remains visible when composing using an IME HOT 3
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 plate.