Skip to content

Custom Extension Helpers #350

@celery9376

Description

@celery9376

I would like to create a custom extension using the same reactjs-tiptap-editor UI and utils that are used to build extensions within this repo. Is there a way to import these UI elements, hooks, utils in my project? If not, are there plans to make these available to make custom extension creation easier and more streamlined?

Examples:

import {
  Dialog,
  DialogContent,
  DialogFooter,
  DialogTitle,
  DialogTrigger,
} from 'reactjs-tiptap-editor/components/ui/dialog';
import { useToggleActive } from '@/hooks/useActive';
import { useButtonProps } from '@/hooks/useButtonProps';
import { useExtension } from '@/hooks/useExtension';
import { useEditorInstance } from '@/store/editor';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions