Its been a long time since the README was updated. Module and its configuration has changed a lot and it needs to be updated.

Comments

slashrsm’s picture

Issue tags: +Media Initiative, +sprint, +Novice
slashrsm’s picture

Issue tags: -sprint +D8Media
snehi’s picture

Assigned: Unassigned » snehi
snehi’s picture

Status: Active » Needs review
StatusFileSize
new1.83 KB

Please review patch.

Status: Needs review » Needs work

The last submitted patch, 4: entity_embed-readme_update-2471579-4.d8.patch, failed testing.

snehi’s picture

StatusFileSize
new3.5 KB

Please review attached patch.

snehi’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: entity_embed-readme_update-2471579-6-D8.patch, failed testing.

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: entity_embed-readme_update-2471579-6-D8.patch, failed testing.

Status: Needs work » Needs review
sanja_m’s picture

Assigned: snehi » sanja_m

Reviewing.

sanja_m’s picture

StatusFileSize
new4.2 KB
new4.2 KB

Updated README.md

slashrsm’s picture

Status: Needs review » Needs work

Few comments:

  1. +++ b/README.md
    @@ -2,45 +2,38 @@
    -### Embed by UUID (recommended):
    -```html
    -<div data-entity-type="node" data-entity-uuid="07bf3a2e-1941-4a44-9b02-2d1d7a41ec0e" data-view-mode="teaser" />
    -```
    

    I'd leave this info in but update it to reflect latest situation (using instead of a

    , data-view-mode being deprecated in favour of data-entity-embed-display and data-entity-embed-display-configuration, ...).

    Maybe create a new section "Embedding entities without WYSIWYG" or something similar.

  2. +++ b/README.md
    @@ -2,45 +2,38 @@
    -### Embed by ID (not recommended):
    -```html
    -<div data-entity-type="node" data-entity-id="1" data-view-mode="teaser" />
    -```
    

    Same as above.

  3. +++ b/README.md
    @@ -2,45 +2,38 @@
    -### Display Plugins
    -```html
    -<div data-entity-type="node" data-entity-id="1" data-entity-embed-display="entity_reference:entity_reference_entity_view" data-entity-embed-settings='{"view_mode":"teaser"}' />
    -```
    -
    -A more advanced use for embedding entities uses an entity embed display plugin, provided in the `data-entity-embed-display` attribute. By default we provide four different display plugins out of the box:
    -
    

    Same as above.

sanja_m’s picture

Status: Needs work » Needs review
StatusFileSize
new5.36 KB
new2.05 KB

Added "Embedding entities without WYSIWYG" section.

slashrsm’s picture

Status: Needs review » Fixed

Committed. Thank you both!

  • slashrsm committed 70cb11d on 8.x-1.x authored by sanja_m
    Issue #2471579 by sanja_m, snehi: Update README.md
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

wim leers’s picture