-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Blocks converter #704
Comments
im new here so not sure if convertation is a quirky concept or a mistranslation. I would expect it to be "conversion". |
UI is ready. MechanicsThere is no dropdowns at the Inline Toolbar (unlike Notion). Also, there is no Block tools at the Inline Toolbar (unlike Medium and Paper) because they affects the whole Block, not a selected fragment.
|
Related #687 |
Hi, any estimates on 2.15 release dates? Waiting for conversion tool :) |
@aponski will be released next week. |
Resolved by #826 |
@alexey13 can you create an issue based on this case? We will think about it. |
Need to provide ability of convertation one block into another.
convertationConfig
that will specify 2 properties:export
andimport
.export
— value of what field should be used to covert this tool to otherimport
— in which field of tool'sdata
we should put a content exported from original block.Some tools may have complex data structure, for example
List
, so maybeexport
andimport
can be a function, in addition to string tokens. In this case, the function accepts saved data and return a string-value to export.If current block's Tool has an
export
value, add the converter dropdown to the inline toolbarAt the converter dropdown, place all tools that specified
import
valueBy clicking on converter tool, save original block, extract an
export
field and switch this block with the new one passing extracted value through theimport
fieldThe text was updated successfully, but these errors were encountered: