Skip to content

[FEATURE] Finish package @yoopta/renderer #122

Open
@Darginec05

Description

Is this a unique feature?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

Just upgrating package @yoopta/renderer from v2 to v4

Proposed Solution

Package @yoopta/renderer is used for just rendering content without any edit tools and external packages.
In simple it useful when you care about page perfomance and good SEO indicators

So, the solution is next:

  1. Every element inside block should have default renderers
  2. These default renderers can be replaced by custom renders
import Callout from '@yoopta/callout'

const CustomCalloutRender = () => ...

const plugins = [
  ...,
  Callout.extends({
     renders: {
       callout: CustomCalloutRender
     }
  })
]
  1. These renderers should be used in @yoopta/renderer package

Screenshots

No response

Do you want to work on this issue?

Yes

If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

No response

Activity

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

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions