# fluent-community/2.7.7/assets/index3.js

FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS &amp; Online Courses, version 2.7.7. 2 lines.

- Page: https://pluginprobe.com/plugins/fluent-community/2.7.7/code/assets/index3.js
- Raw: https://pluginprobe.com/plugins/fluent-community/2.7.7/raw/assets/index3.js
- Modified: 2026-08-10T11:44:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-community/2.7.7/code/assets/index3.js#L10-L20`.

```javascript
import{i as a,a as s}from"./index6.js?ver=2.7.7";import{p as u,u as d,v as p}from"./milkdown.js?ver=2.7.7";import{a5 as f,a4 as m,ar as h,aq as P}from"./vendor.js?ver=2.7.7";import"./lodash.js?ver=2.7.7";import"./dayjs.js?ver=2.7.7";import"./vue.js?ver=2.7.7";function C(n){var e;return n.childCount<=1&&!((e=n.firstChild)!=null&&e.content.size)}function g(n,e){const{selection:o}=n;if(!o.empty)return null;const t=o.$anchor,r=t.parent;if(r.content.size>0||p(l=>l.type.name==="table")(t))return null;const c=t.before();return P.node(c,c+r.nodeSize,{class:"crepe-placeholder","data-placeholder":e})}const i=u({text:"Please enter...",mode:"block"},"placeholderConfigCtx"),y=d(n=>new f({key:new m("CREPE_PLACEHOLDER"),props:{decorations:e=>{const o=n.get(i.key);if(o.mode==="doc"&&!C(e.doc)||a(e.selection)||s(e.selection))return null;const t=o.text??"Please enter...",r=g(e,t);return r?h.create(e.doc,[r]):null}}})),T=(n,e)=>{n.config(o=>{e&&o.update(i.key,t=>({...t,...e}))}).use(y).use(i)};export{T as defineFeature,i as placeholderConfig,y as placeholderPlugin};

```
