-
-
Notifications
You must be signed in to change notification settings - Fork 200
Yoopta V6: New API for Plugin Elements #544
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
Open
Darginec05
wants to merge
7
commits into
v6
Choose a base branch
from
feature/plugin-api
base: v6
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Consolidate ESLint extends into a single line for clarity. - Update parser options to include multiple TypeScript project configurations. - Refine rules for no-param-reassign to allow specific exceptions. - Adjust TypeScript configuration to include additional type definitions for plugins. - Add new Zod dependency for schema validation in plugins. - Introduce new plugin elements and enhance existing ones with improved type definitions and rendering logic. - Clean up unused imports and improve overall code structure for better maintainability.
…lugin - Introduce `PluginElementNodeType` for better type management in plugin elements. - Update `buildElementsMap` to support the new `nodeType` property. - Add `CodeGroupPlugin` for rendering grouped code blocks with associated metadata. - Integrate `CodeGroupPlugin` into the main plugin exports for accessibility. - Refactor existing plugins to utilize the new Zod schema for props validation. - Clean up and organize imports across various plugin files for improved maintainability.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Remove Zod schema references from various plugins and replace with simpler prop structures. - Update plugin element exports to include new props management for better flexibility. - Refactor ActionMenuList and Toolbar components to enhance usability and performance. - Delete unused ActionMenu and Toolbar files to clean up the codebase. - Adjust TypeScript configurations to reflect the removal of deprecated files and improve type definitions. - Enhance documentation to clarify changes in plugin structure and usage.
- Introduce new `yoopta-editor` file structure, consolidating editor components for better organization. - Replace deprecated `findPluginBlockByPath` with `getBlock` for improved block retrieval. - Update ESLint configuration to include new paths and rules for better code quality. - Remove unused utility functions and files to clean up the codebase. - Refactor block management functions to utilize new path handling methods for consistency. - Enhance documentation to reflect changes in editor architecture and plugin usage.
- Modify `.eslintignore` to ensure proper linting exclusions. - Remove deprecated ignore patterns from `.eslintrc.json` for cleaner configuration. - Refactor import paths in editor files to align with new structure. - Introduce new utility functions for better block element management. - Enhance documentation to reflect changes in editor architecture and plugin usage.
- Introduce package-lock.json to manage package versions and ensure consistent installations. - Update yarn.lock to reflect changes in dependency resolutions and versions. - Refactor styles in the editor and plugins for improved consistency and maintainability. - Enhance the editor's functionality by modifying event handlers and state management in various components. - Add new StepsPlugin for step-by-step instructions, integrating it into the editor's plugin architecture.
- Rename `editor.h()` to `editor.y()` for consistency in element structure creation. - Update related imports and references across the codebase to reflect the new function name. - Introduce new tests for the `create-element-structure` functionality to ensure proper behavior. - Enhance documentation to guide users on the updated API for creating complex block structures.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
More info - #542