HelloBetterLTD / markdownfield

Markdown field for SilverStripe
11 stars 10 forks source link

Don't use FQN for the DB field name #8

Closed priyashantha closed 7 years ago

priyashantha commented 7 years ago

you can use MarkdownText in $db array rather than \SilverStripers\markdown\db\MarkdownText

eg:

private static $db = array(
    'MarkdownContent'       => 'MarkdownText'
);
fonsekaean commented 7 years ago

Thanks @priyashantha

Suppose you need to update the docs too

priyashantha commented 7 years ago

@fonsekaean Done.