preparePractice(practice) {
    if (!practice) return {};

    return {
      ...practice,
      content: _isEmpty(practice.content) ? {} : slate.objectToState(practice.content),
      title: slate.textToState(practice.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
preparePractice(practice) {
    if (!practice) return {};
    return {
      ...practice,
      content: _isEmpty(practice.content) ? {} : slate.objectToState(practice.content),
      title: slate.textToState(practice.title)
    };
  }
preparePractice ( practice ) { if ( ! practice ) return { } ; return { ... practice , content : _isEmpty ( practice . content ) ? { } : slate . objectToState ( practice . content ) , title : slate . textToState ( practice . title ) } ; }
Prepares article content to use Slate's state objects
Prepares article content to use Slate ' s state objects