prepareTutorial(tutorial) {
    if (!tutorial) return {};

    return {
      ...tutorial,
      content: _isEmpty(tutorial.content) ? {} : slate.objectToState(tutorial.content),
      title: slate.textToState(tutorial.title)
    };
  }
// Prepares article content to use Slate's state objects
Prepares article content to use Slate's state objects
Prepares article content to use Slate ' s state objects
prepareTutorial(tutorial) {
    if (!tutorial) return {};
    return {
      ...tutorial,
      content: _isEmpty(tutorial.content) ? {} : slate.objectToState(tutorial.content),
      title: slate.textToState(tutorial.title)
    };
  }
prepareTutorial ( tutorial ) { if ( ! tutorial ) return { } ; return { ... tutorial , content : _isEmpty ( tutorial . content ) ? { } : slate . objectToState ( tutorial . content ) , title : slate . textToState ( tutorial . title ) } ; }
Prepares article content to use Slate's state objects
Prepares article content to use Slate ' s state objects