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

Export components and/or more internals #346

Closed
toddb opened this issue Jul 17, 2024 · 1 comment
Closed

Export components and/or more internals #346

toddb opened this issue Jul 17, 2024 · 1 comment
Labels

Comments

@toddb
Copy link

toddb commented Jul 17, 2024

Thanks for all this amazing work to wrap tiptap for vuetify. However, VuetifyTiptap, itself is difficult to make into vuetify form field and I wondered if the library could export more so that people wanting a custom version could build what you have done. For example, both the Toolbar and BubbleMenu are not exported.

I can see that there are slots, but I am wanting a different structure that uses the v-field and effectively mimicks a v-textarea but has rich texting editing.

More specifically, I was trying to write an alternative version but I can't get access to:

import BubbleMenu from './BubbleMenu.vue'
import TipTapToolbar from './TiptapToolbar.vue'

import { EDITOR_UPDATE_THROTTLE_WAIT_TIME, EDITOR_UPDATE_WATCH_THROTTLE_WAIT_TIME } from '@/constants/define'
import { useMarkdownTheme, useProvideTiptapStore } from '@/hooks'
import { useLocale } from '@/locales'
import { VuetifyTiptapOnChange } from '@/type'
import { differenceBy, getCssUnitWithDefault, hasExtension, isBoolean, isEqual, throttle } from '@/utils/utils'

Does that make enough sense? Perhaps, I have missed a technique! Would you need a pull request?

Cheers

@yikoyu yikoyu closed this as completed in ccb8485 Jan 3, 2025
yikoyu pushed a commit that referenced this issue Jan 3, 2025
## [2.5.7](v2.5.6...v2.5.7) (2025-01-03)

### Bug Fixes

* **extensions:** ensure focus is maintained after inserting table, close [#409](#409) ([6cc2c97](6cc2c97))
* **link:** preserve parent plugins to fix autolink, close [#410](#410) ([565658b](565658b))

### Refactor

* optimize export statements, close [#346](#346) ([ccb8485](ccb8485))
@yikoyu
Copy link
Owner

yikoyu commented Jan 3, 2025

🎉 This issue has been resolved in version 2.5.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@yikoyu yikoyu added the released label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants