Function: web-mode-element-children-comment
web-mode-element-children-comment is an interactive and natively
compiled function defined in web-mode.el.
Signature
(web-mode-element-children-comment &optional POS)
Documentation
Comment all the children of the current html element.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/2qgnz1rp30nzfz6w0apx4kdm14if1bbs-emacs-packages-deps/share/emacs/site-lisp/elpa/web-mode-20260831.219/web-mode.el
(defun web-mode-element-children-comment (&optional pos)
"Comment all the children of the current html element."
(interactive)
(unless pos (setq pos (point)))
(save-excursion
(dolist (child (reverse (web-mode-element-children pos)))
(goto-char child)
(web-mode-comment (point)))
))