Merge branch 'fix/update-types-in-link-formatter' into 'develop'
Update types in Pleroma.Formatter group in description.exs See merge request pleroma/pleroma!2796
This commit is contained in:
commit
58c09a8258
@ -2235,13 +2235,13 @@ config :pleroma, :config_description, [
|
|||||||
children: [
|
children: [
|
||||||
%{
|
%{
|
||||||
key: :class,
|
key: :class,
|
||||||
type: [:string, false],
|
type: [:string, :boolean],
|
||||||
description: "Specify the class to be added to the generated link. Disable to clear.",
|
description: "Specify the class to be added to the generated link. Disable to clear.",
|
||||||
suggestions: ["auto-linker", false]
|
suggestions: ["auto-linker", false]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :rel,
|
key: :rel,
|
||||||
type: [:string, false],
|
type: [:string, :boolean],
|
||||||
description: "Override the rel attribute. Disable to clear.",
|
description: "Override the rel attribute. Disable to clear.",
|
||||||
suggestions: ["ugc", "noopener noreferrer", false]
|
suggestions: ["ugc", "noopener noreferrer", false]
|
||||||
},
|
},
|
||||||
@ -2252,7 +2252,7 @@ config :pleroma, :config_description, [
|
|||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
key: :truncate,
|
key: :truncate,
|
||||||
type: [:integer, false],
|
type: [:integer, :boolean],
|
||||||
description:
|
description:
|
||||||
"Set to a number to truncate URLs longer than the number. Truncated URLs will end in `...`",
|
"Set to a number to truncate URLs longer than the number. Truncated URLs will end in `...`",
|
||||||
suggestions: [15, false]
|
suggestions: [15, false]
|
||||||
|
Loading…
Reference in New Issue
Block a user