mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
feat: add doFullSerialization support to blocks (#7363)
* feat: add doFullSerialization support to blocks * chore: PR comments
This commit is contained in:
@@ -423,6 +423,9 @@ export abstract class Field<T = any>
|
||||
* @param _doFullSerialization If true, this signals to the field that if it
|
||||
* normally just saves a reference to some state (eg variable fields) it
|
||||
* should instead serialize the full state of the thing being referenced.
|
||||
* See the
|
||||
* {@link https://developers.devsite.google.com/blockly/guides/create-custom-blocks/fields/customizing-fields/creating#full_serialization_and_backing_data | field serialization docs}
|
||||
* for more information.
|
||||
* @returns JSON serializable state.
|
||||
* @internal
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user