Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Aligned to the changes in engine #67

Merged
merged 1 commit into from
Apr 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bold/boldediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class BoldEditing extends Plugin {
upcastAlso: [
'b',
{
style: {
styles: {
'font-weight': 'bold'
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/code/codeediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class CodeEditing extends Plugin {
model: CODE,
view: 'code',
upcastAlso: {
style: {
styles: {
'word-wrap': 'break-word'
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/italic/italicediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class ItalicEditing extends Plugin {
upcastAlso: [
'em',
{
style: {
styles: {
'font-style': 'italic'
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/strikethrough/strikethroughediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class StrikethroughEditing extends Plugin {
'del',
'strike',
{
style: {
styles: {
'text-decoration': 'line-through'
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/underline/underlineediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class UnderlineEditing extends Plugin {
model: UNDERLINE,
view: 'u',
upcastAlso: {
style: {
styles: {
'text-decoration': 'underline'
}
}
Expand Down