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

feat(editor): add replacer array #113

Closed
github-actions bot opened this issue Jan 16, 2025 · 1 comment
Closed

feat(editor): add replacer array #113

github-actions bot opened this issue Jan 16, 2025 · 1 comment
Assignees
Labels
composable composable issue todo

Comments

@github-actions
Copy link

import { Extension } from '@tiptap/core'

export default function useConverter() {
  const smilieReplacer = Extension.create({
    name: 'smilieReplacer',
    addInputRules() {
      return [
        // TODO: add replacer array
      ]
    },
  })
  return {
    smilieReplacer,
  }
}
@github-actions github-actions bot added the todo label Jan 16, 2025
@mnenie mnenie changed the title add replacer array feat(editor): add replacer array Jan 16, 2025
@mnenie mnenie added the composable composable issue label Jan 16, 2025
@mnenie
Copy link
Owner

mnenie commented Jan 31, 2025

resolves: #124

@mnenie mnenie closed this as completed Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
composable composable issue todo
Projects
None yet
Development

No branches or pull requests

1 participant