Skip to content

Commit

Permalink
Merge pull request #169 from chrisgame/add-class-to-card-wrapper
Browse files Browse the repository at this point in the history
Add a class to the div wrapping a card
  • Loading branch information
lukemelia authored Jun 6, 2020
2 parents 9305ae1 + cf71a12 commit d5bb4ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addon/components/mobiledoc-editor/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export default Component.extend({
let destinationElementId = `mobiledoc-editor-card-${cardId}`;
let element = document.createElement('div');
element.id = destinationElementId;
element.className = 'mobiledoc-editor__card-wrapper';

// The data must be copied to avoid sharing the reference
payload = copy(payload, true);
Expand Down

0 comments on commit d5bb4ed

Please sign in to comment.