Search documentation of phoenix_kit

# PhoenixKitWeb.Live.Modules.Blogging.Editor (phoenix_kit v1.6.19)

View Source

Markdown editor for blogging posts.

# Summary

## Functions

build_editor_languages(current_language, available_languages, all_enabled_languages, blog_slug, post_path, current_form_status \\ nil)

Builds language data for the blog_language_switcher component in the editor. Returns a list of language maps with status info for each language.

render(assigns)

Callback implementation for `Phoenix.LiveView.render/1`.

# Functions

# build_editor_languages(current_language, available_languages, all_enabled_languages, blog_slug, post_path, current_form_status \\ nil)

Builds language data for the blog_language_switcher component in the editor. Returns a list of language maps with status info for each language.

The `current_form_status` parameter allows passing the current form's status for the language being edited, so status dots update in real-time.

# render(assigns)

Callback implementation for `Phoenix.LiveView.render/1`.