Comments (10)
need change
import { fileURLToPath } from "url";
const dir = path.parse(fileURLToPath(import.meta.url)).dir;
from blocknote.
@jkcs That silenced the error but it doesn't seem to be actually generating the examples.gen.tsx due to getExampleProjects
not finding any example files due to it not knowing the exact path
from blocknote.
from blocknote.
That only silenced the errors. But unfortunately it can't read any example directories which makes it output an empty example object in examples.gen.tsx
from blocknote.
Ah yeah, I was also running into this when I was working on Windows way back. Basically, node:path
handles Windows and MacOS paths pretty differently and it's just kind of a pain. Unfortunately the solution that was most convenient for me was removing all path
calls and replacing them with hardcoded strings:(
from blocknote.
/bounty 10
from blocknote.
💎 $10 bounty • BlockNote
Steps to solve:
- Start working: Comment
/attempt #955
with your implementation plan - Submit work: Create a pull request including
/claim #955
in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Thank you for contributing to TypeCellOS/BlockNote!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🟢 @rogueloop | Jul 29, 2024, 10:26:48 PM | WIP |
🟢 @jkcs | #970 |
from blocknote.
/attempt #955
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@rogueloop | 1 bounty from 1 project | Java, Go, Python & more |
Cancel attempt |
from blocknote.
💡 @jkcs submitted a pull request that claims the bounty. You can visit your bounty board to reward.
from blocknote.
@jkcs: You've been awarded a $10 bounty by BlockNote! We'll notify you once it is processed.
from blocknote.
Related Issues (20)
- Links are not detected after enter and in custom blocks
- Feedback for “Rendering static documents” HOT 2
- Unexpected format block HOT 8
- Firefox: Trailing Whitespace Removed in Custom Blocks HOT 3
- Side Menu showing when the cursor is outside the editor HOT 5
- Don't automatically create a new empty line when I write something. HOT 1
- Feedback for “Suggestion Menus” (removing items) HOT 3
- Emoji Option in Suggestion Menu does not disappear when emojiPicker prop is false HOT 2
- `@blocknote/react` doesn't work with React 19 RC HOT 2
- Can the checkbox from the CheckList be updated with the Shadcn's version instead of the default HTML one? HOT 2
- Porting immediatelyRender and shouldRerenderOnTransaction from tiptap? HOT 1
- Third party embeds (YouTube, etc)
- Selected Blocks does not reflect changes to select block HOT 2
- BUG/FEAT: Styling Suggestion Menu Controller HOT 1
- FEAT: Support for Adding a Button Link Component in BlockNote HOT 1
- Images can't be resized on touch screen devices
- Image dissappearing (width=0) from image block if BlockNote is not visible (not in viewport) HOT 2
- I am trying to make a markdown sort of editor which loads back the content from the database
- I am trying to make a markdown sort of editor which loads back the content from the database
- Links in custom non-editable blocks open twice
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 blocknote.