Skip to content

Commit

Permalink
BurgerEditor用タグをコメントで記載
Browse files Browse the repository at this point in the history
  • Loading branch information
kaburk committed Nov 30, 2021
1 parent 9a2b4dc commit aa53a7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Controller/BcWpImportersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ private function makePostData($xml) {
$xml['content:encoded']
);
$data['BlogPost']['detail'] = nl2br($xml['content:encoded']);
// $data['BlogPost']['detail'] =
// '<div data-bgb="wysiwyg" class="bgb-wysiwyg">' .
// '<div data-bgt="ckeditor" data-bgt-ver="2.1.0" class="bgt-container bgt-ckeditor-container">' .
// '<div class="bge-ckeditor" data-bge="ckeditor">' .
// $data['BlogPost']['detail'] .
// '</div></div></div>';
} else {
$data['BlogPost']['detail'] = '';
}
Expand Down

0 comments on commit aa53a7d

Please sign in to comment.