Skip to content

Commit

Permalink
Merge pull request #430 from thematters/develop
Browse files Browse the repository at this point in the history
Release: 0.1.29-alpha.0
  • Loading branch information
robertu7 authored May 23, 2023
2 parents 0796d35 + 56bc9c7 commit 2ae73ab
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@matters/matters-editor",
"version": "0.1.28",
"version": "0.1.29-alpha.0",
"description": "The editor component.",
"author": "https://github.com/thematters",
"homepage": "https://github.com/thematters/matters-editor",
Expand Down
10 changes: 7 additions & 3 deletions src/configs/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import * as config from './default'
export const FORMAT_CONFIG = [
// inline
'bold',
'italic',
'underline',
// 'italic',
// 'underline',

// block
'blockquote',
Expand All @@ -22,7 +22,11 @@ export const FORMAT_CONFIG = [
export const MODULE_CONFIG = {
...config.MODULE_CONFIG,
toolbar: [
['bold', 'italic', 'underline'],
[
'bold',
// 'italic',
// 'underline'
],
['blockquote', { list: 'ordered' }, { list: 'bullet' }, 'link'],
],
}
13 changes: 10 additions & 3 deletions src/configs/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ export const FORMAT_CONFIG = [
// inline
'bold',
'code',
'italic',
// 'italic',
'link',
'strike',
'script',
'underline',
// 'underline',

// block
'header',
Expand All @@ -41,7 +41,14 @@ export const FORMAT_CONFIG = [

export const MODULE_CONFIG = {
toolbar: [
[{ header: '2' }, 'bold', 'italic', 'strike', 'underline', 'code-block'],
[
{ header: '2' },
'bold',
// 'italic',
'strike',
// 'underline',
'code-block',
],
['blockquote', { list: 'ordered' }, { list: 'bullet' }, 'link'],
],
clipboard: {
Expand Down

0 comments on commit 2ae73ab

Please sign in to comment.