Open klonos opened 3 years ago
This project doesn't have the same labels as core, but this should/could be marked RTBC. I reviewed and tested and I'm using this PR on my projects successfully. :+1:
I'm wondering if this issue has been lost. Last note by @quicksketch suggests the PR #21 could be RTBC and looking at the diff the significant fix seems to be these lines:
- $default_state = config_get('diff.settings','diff_default_state_node'); + $default_state = config_get('diff.settings', 'diff_default_state.node');
Testing Diff 7.x-3.3 in a D7.82 sandbox
raw
) mode shown out of the box: The path I was at wasnode/1/revisions/view/1/2
.node/1/revisions/view/1/2/raw-plain
node/1/revisions/view/1/2
(notice: no/raw
added to the end of the path)admin/config/content/diff/entities
and switched the "Diff default state" setting to "- None -" (which I find of no use at all by the way), and saved settings.Testing Diff 3.4.0 in a Backdrop 1.20.0 demo sandbox
admin/config/content/diff/entities
and confirmed that the "Diff default state" setting was set to "HTML view" (raw
) out of the box.node/1/revisions/view/1/2
.node/1/revisions/view/1/2/raw-plain
👍🏼node/1/revisions/view/1/2/raw
(differs compared to the 7.x behavior, which is that no/raw
is being added to the end of the path)admin/config/content/diff/entities
and changed the "Diff default state" setting to "Plain view" (raw-plain
).