Skip to content

Help: How to import autoformatRules and other configs into my project. #573

Answered by meowWhat
matheusbaumgart asked this question in Q&A
Discussion options

You must be logged in to vote

But what about these:

import { autoformatRules } from '../config/autoformatRules';
import {
  headingTypes,
  initialValueAutoformat,
  options,
  optionsResetBlockTypes,
} from '../config/initialValues';

They not exported from the library, am I supposed to copy them to my project?

Yes, you should copy them to your project, if you want to try the demo .After you are familiar with the configuration, customize it

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zbeyens
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #571 on March 12, 2021 12:36.