Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the placeholder #1242

Open
brijal091 opened this issue Nov 13, 2024 · 6 comments · May be fixed by #1252
Open

How to change the placeholder #1242

brijal091 opened this issue Nov 13, 2024 · 6 comments · May be fixed by #1252
Assignees

Comments

@brijal091
Copy link

brijal091 commented Nov 13, 2024

there is an placeholder which is Enter text or type'/' for commands how can we change it ?

@brijal091 brijal091 reopened this Nov 13, 2024
@Blapi
Copy link

Blapi commented Nov 13, 2024

    const editor = useCreateBlockNote({
      dictionary: {
        ...locales.en,
        placeholders: {
          ...locales.en.placeholders,
          default: placeholder ?? locales.en.placeholders.default,
        },
      }
    })

Depending on your locale obviously

@YousefED
Copy link
Collaborator

/bounty 10 for adding an example that shows how to change the default placeholder and the placeholder for Headings

Copy link

algora-pbc bot commented Nov 16, 2024

💎 $10 bounty • BlockNote

Steps to solve:

  1. Start working: Comment /attempt #1242 with your implementation plan
  2. Submit work: Create a pull request including /claim #1242 in the PR body to claim the bounty
  3. 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 bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @ezhil56x Nov 16, 2024, 6:44:26 PM #1252
🟢 @hunxjunedo Nov 16, 2024, 6:45:44 PM WIP

@hunxjunedo
Copy link
Contributor

hunxjunedo commented Nov 16, 2024

@YousefED hey can I get assigned please? /attempt #1242

Algora profile Completed bounties Tech Active attempts Options
@hunxjunedo    2 BlockNote bounties
+ 12 bounties from 2 projects
TypeScript, JavaScript,
MDX
Cancel attempt

@ezhil56x
Copy link
Contributor

ezhil56x commented Nov 16, 2024

/attempt #1242
Started working

Algora profile Completed bounties Tech Active attempts Options
@ezhil56x    1 BlockNote bounty
+ 52 bounties from 14 projects
TypeScript, JavaScript,
Go & more
Cancel attempt

@ezhil56x ezhil56x linked a pull request Nov 16, 2024 that will close this issue
Copy link

algora-pbc bot commented Nov 16, 2024

💡 @ezhil56x submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants