1import{Accessibility as h,Command as g,CommandCollection as L,Context as B,ContextPlugin as A,EditingKeystrokeHandler as M,Editor as T,ElementApiMixin as F,MultiCommand as D,PendingActions as S,Plugin as c,_DEFAULT_ACCESSIBILITY_GROUP_ID as _,_getEditorUsageData as y,attachToForm as P,secureSourceElement as E}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-core$dist$index.js.js";import{IconAccessibility as k,IconAddComment as R,IconAlignBottom as O,IconAlignCenter as H,IconAlignJustify as U,IconAlignLeft as N,IconAlignMiddle as j,IconAlignRight as z,IconAlignTop as W,IconArrowDown as G,IconArrowUp as K,IconBold as q,IconBookmark as Q,IconBookmarkInline as J,IconBookmarkMedium as Y,IconBookmarkSmall as Z,IconBrowseFiles as $,IconBulletedList as X,IconCancel as ee,IconCaption as oe,IconCaseChange as te,IconCheck as ne,IconChevronDown as ie,IconChevronUp as re,IconCkboxImageEdit as ce,IconCode as ae,IconCodeBlock as le,IconCog as se,IconColorPalette as Ie,IconColorTileCheck as de,IconCommentsArchive as me,IconContentLock as ue,IconContentUnlock as ge,IconCopy as we,IconDragHandle as pe,IconDragIndicator as Ve,IconDropbox as be,IconDropdownArrow as Ce,IconEditComment as fe,IconEmoji as he,IconEraser as Le,IconError as Be,IconExportPdf as Ae,IconExportWord as Me,IconFacebook as Te,IconFindReplace as Fe,IconFontBackground as De,IconFontColor as Se,IconFontFamily as _e,IconFontSize as ye,IconFullscreenEnter as Pe,IconFullscreenLeave as Ee,IconGoogleDrive as ve,IconGooglePhotos as xe,IconHeading1 as ke,IconHeading2 as Re,IconHeading3 as Oe,IconHeading4 as He,IconHeading5 as Ue,IconHeading6 as Ne,IconHistory as je,IconHorizontalLine as ze,IconHtml as We,IconImage as Ge,IconImageAssetManager as Ke,IconImageUpload as qe,IconImageUrl as Qe,IconImportExport as Je,IconImportWord as Ye,IconIndent as Ze,IconInsertMergeField as $e,IconItalic as Xe,IconLegalStyleList as eo,IconLineHeight as oo,IconLink as to,IconListStyleCircle as no,IconListStyleDecimal as io,IconListStyleDecimalLeadingZero as ro,IconListStyleDisc as co,IconListStyleLowerLatin as ao,IconListStyleLowerRoman as lo,IconListStyleSquare as so,IconListStyleUpperLatin as Io,IconListStyleUpperRoman as mo,IconLocal as uo,IconLoupe as go,IconLowVision as wo,IconMagicWand as po,IconMarker as Vo,IconMedia as bo,IconMediaPlaceholder as Co,IconMultiLevelList as fo,IconNextArrow as ho,IconNotification as Lo,IconNumberedList as Bo,IconObjectCenter as Ao,IconObjectFullWidth as Mo,IconObjectInline as To,IconObjectInlineLeft as Fo,IconObjectInlineRight as Do,IconObjectLeft as So,IconObjectRight as _o,IconObjectSizeCustom as yo,IconObjectSizeFull as Po,IconObjectSizeLarge as Eo,IconObjectSizeMedium as vo,IconObjectSizeSmall as xo,IconOneDrive as ko,IconOutdent as Ro,IconPageBreak as Oo,IconPaginationExample as Ho,IconPaintRoller as Uo,IconPaintRollerCursorDefault as No,IconPaintRollerCursorText as jo,IconParagraph as zo,IconPen as Wo,IconPencil as Go,IconPilcrow as Ko,IconPlay as qo,IconPlus as Qo,IconPreviewMergeFields as Jo,IconPreviousArrow as Yo,IconPrint as Zo,IconProjectLogo as $o,IconQuote as Xo,IconRedo as et,IconRemove as ot,IconRemoveComment as tt,IconRemoveFormat as w,IconReturnArrow as nt,IconRevisionHistory as it,IconRobotPencil as rt,IconSelectAll as ct,IconSettings as at,IconShowBlocks as lt,IconSource as st,IconSpecialCharacters as It,IconStrikethrough as dt,IconSubmit as mt,IconSubscript as ut,IconSuperscript as gt,IconTable as wt,IconTableCellProperties as pt,IconTableColumn as Vt,IconTableLayout as bt,IconTableMergeCell as Ct,IconTableOfContents as ft,IconTableProperties as ht,IconTableRow as Lt,IconTemplate as Bt,IconTemplateGeneric as At,IconText as Mt,IconTextAlternative as Tt,IconThreeVerticalDots as Ft,IconTodoList as Dt,IconTrackChanges as St,IconTrackChangesAccept as _t,IconTrackChangesDiscard as yt,IconUnderline as Pt,IconUndo as Et,IconUnlink as vt,IconUploadcareImageEdit as xt,IconUploadcareImageUpload as kt,IconUploadcareLink as Rt,IconUser as Ot,IconWarning as Ht}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-icons$dist$index.js.js";import{AccessibilityHelp as jt,AccessibilityHelpContentView as zt,AriaLiveAnnouncer as Wt,AriaLiveAnnouncerPoliteness as Gt,AriaLiveAnnouncerRegionView as Kt,AriaLiveAnnouncerView as qt,AutocompleteView as Qt,Badge as Jt,BalloonPanelView as Yt,BalloonToolbar as Zt,BlockButtonView as $t,BlockToolbar as Xt,BodyCollection as en,BoxedEditorUIView as on,ButtonLabelView as tn,ButtonLabelWithHighlightView as nn,ButtonView as p,CollapsibleView as rn,ColorGridView as cn,ColorGridsFragmentView as an,ColorPickerFragmentView as ln,ColorPickerInputRowView as sn,ColorPickerView as In,ColorSelectorView as dn,ColorTileView as mn,ComponentFactory as un,ContextualBalloon as gn,CssTransitionDisablerMixin as wn,DefaultMenuBarItems as pn,Dialog as Vn,DialogActionsView as bn,DialogContentView as Cn,DialogView as f
1n,DialogViewPosition as hn,DocumentColorCollection as Ln,DraggableViewMixin as Bn,DropdownButtonView as An,DropdownMenuButtonView as Mn,DropdownMenuListItemButtonView as Tn,DropdownMenuListItemView as Fn,DropdownMenuListView as Dn,DropdownMenuNestedMenuPanelView as Sn,DropdownMenuNestedMenuView as _n,DropdownMenuPanelPositioningFunctions as yn,DropdownMenuRootListView as Pn,DropdownPanelView as En,DropdownView as vn,EditableUIView as xn,EditorUI as kn,EditorUIView as Rn,EvaluationBadge as On,FileDialogButtonView as Hn,FileDialogListItemButtonView as Un,FileDialogViewMixin as Nn,FocusCycler as jn,FormHeaderView as zn,FormRowView as Wn,HighlightedTextView as Gn,IconView as Kn,IframeView as qn,InlineEditableUIView as Qn,InputBase as Jn,InputNumberView as Yn,InputTextView as Zn,InputView as $n,ItemsView as Xn,LabelView as ei,LabelWithHighlightView as oi,LabeledFieldView as ti,LabeledInputView as ni,ListItemButtonView as ii,ListItemGroupView as ri,ListItemView as ci,ListSeparatorView as ai,ListView as li,MenuBarMenuButtonView as si,MenuBarMenuListItemButtonView as V,MenuBarMenuListItemFileDialogButtonView as Ii,MenuBarMenuListItemView as di,MenuBarMenuListView as mi,MenuBarMenuPanelView as ui,MenuBarMenuView as gi,MenuBarView as wi,NESTED_TOOLBAR_ICONS as pi,Notification as Vi,PoweredBy as bi,SearchInfoView as Ci,SearchResultsView as fi,SearchTextView as hi,SliderView as Li,SpinnerView as Bi,SplitButtonView as Ai,StickyPanelView as Mi,SwitchButtonView as Ti,Template as Fi,TextareaView as Di,ToolbarLineBreakView as Si,ToolbarSeparatorView as _i,ToolbarView as yi,TooltipManager as Pi,UIModel as Ei,View as vi,ViewCollection as xi,ViewModel as ki,_CheckIconHolderView as Ri,_CollapsibleView as Oi,_ContextualBalloonRotatorView as Hi,_DropdownMenuBehaviors as Ui,_DropdownRootMenuBehaviors as Ni,_MenuBarBehaviors as ji,_MenuBarMenuBehaviors as zi,_MenuBarMenuViewPanelPositioningFunctions as Wi,_SearchInfoView as Gi,_SearchTextQueryView as Ki,_TemplateBinding as qi,_TemplateIfBinding as Qi,_TemplateToBinding as Ji,_convertColor as Yi,_convertColorToHex as Zi,_preventUiViewDefault as $i,_processMenuBarConfig as Xi,_registerCustomElement as er,_tryNormalizeHexColor as or,addKeyboardHandlingForGrid as tr,addListToDropdown as nr,addMenuToDropdown as ir,addToolbarToDropdown as rr,clickOutsideHandler as cr,createDropdown as ar,createLabeledDropdown as lr,createLabeledInputNumber as sr,createLabeledInputText as Ir,createLabeledTextarea as dr,filterGroupAndItemNames as mr,focusChildOnDropdownOpen as ur,getLocalizedColorOptions as gr,isFocusable as wr,isViewWithFocusCycler as pr,normalizeColorOptions as Vr,normalizeMenuBarConfig as br,normalizeSingleColorDefinition as Cr,normalizeToolbarConfig as fr,submitHandler as hr}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-ui$dist$index.js.js";import{CKEditorError as Ar,Collection as Mr,Config as Tr,DOCUMENTATION_URL as Fr,DomEmitterMixin as Dr,ElementReplacer as Sr,EmitterMixin as _r,EventInfo as yr,FocusTracker as Pr,KeystrokeHandler as Er,Locale as vr,ObservableMixin as xr,Rect as kr,ResizeObserver as Rr,_clearTranslations as Or,_getEmitterId as Hr,_getEmitterListenedTo as Ur,_getUserAgent as Nr,_isAndroid as jr,_isBlink as zr,_isGecko as Wr,_isMac as Gr,_isMediaForcedColors as Kr,_isMotionReduced as qr,_isRegExpUnicodePropertySupported as Qr,_isSafari as Jr,_isWindows as Yr,_isiOS as Zr,_setEmitterId as $r,_translate as Xr,_unifyTranslations as ec,abortableDebounce as oc,add as tc,areConnectedThroughProperties as nc,collectStylesheets as ic,compareArrays as rc,count as cc,crc32 as ac,createElement as lc,delay as sc,diff as Ic,diffToChanges as dc,env as mc,exponentialDelay as uc,fastDiff as gc,findClosestScrollableAncestor as wc,first as m,formatHtml as pc,getAncestors as Vc,getBorderWidths as bc,getCode as Cc,getCommonAncestor as fc,getDataFromElement as hc,getEnvKeystrokeText as Lc,getLanguageDirection as Bc,getLocalizedArrowKeyCodeDirection as Ac,getOptimalPosition as Mc,getPositionedAncestor as Tc,getRangeFromMouseEvent as Fc,getVisualViewportOffset as Dc,global as Sc,indexOf as _c,insertAt as yc,insertToPriorityArray as Pc,isArrowKeyCode as Ec,isCombiningMark as vc,isComment as xc,isForwardArrowKeyCode as kc,isHighSurrogateHalf as Rc,isInsideCombinedSymbol as Oc,isInsideEmojiSequence as Hc,isInsideSurrogatePair as Uc,isIterable as Nc,isLowSurrogateHalf as jc,isNode as zc,isRange as Wc,isText as Gc,isValidAttributeName as Kc,isViewWithFocusTracker as qc,isVisible as Qc,isWindow as Jc,keyCodes as Yc,logError as Zc,logWarning as $c,mapsEqual as Xc,nth as ea,objectToMap as oa,parseBase64EncodedObject as ta,parseKeystroke as na,priorities as ia,releaseDate as ra,remove as ca,retry as aa,scrollAncestorsToShowTarget as la,scrollViewportToShowTarget as sa,setDataInElement as Ia,spliceArray as da,spy as ma,toArray as ua,toMap as ga,toUnit as wa,uid as pa,version as Va,wait as ba}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-utils$dist$index.js.js";var a="removeFormat",l=class extends c{static get pluginName(){return"RemoveFormatUI"}static get isOfficialPlugin(){return!0}init(){let e=this.editor;e.ui.componentFactory.add(a,()=>{let o=this._createButton(p);return o.set({tooltip:!0}),o}),e.ui.componentFactory.add(`menuBar:${a}`,()=>this._createButton(V))}_createButton(e){let o=this.editor,n=o.locale,i=o.commands.get(a),t=new e(o.locale),r=n.t;return t.set({label:r("Remove Format"),icon:w}),t.bind("isEnabled").to(i,"isEnabled"),this.listenTo(t,"execute",()=>{o.execute(a),o.editing.view.focus()}),t}},s=class extends g{_customAttributesHandlers=[];refresh(){let e=this.editor.model;this.isEnabled=!!m(this._getFormattingItems(e.document.selection))}execute(){let e=this.editor.model;e.change(o=>{for(let n of this._getFormattingItems(e.document.selection))if(n.is("selection"))for(let i of this._getFormattingAttributes(n))o.removeSelectionAttribute(i);else{let i=o.createRangeOn(n);for(let t of this._getFormattingAttributes(n))this._removeFormatting(t,n,i,o)}})}registerCustomAttribute(e,o){this._customAttributesHandlers.push({isFormatting:e,removeFormatting:o})}_removeFormatting(e,o,n,i){let t=!1;for(let{isFormatting:r,removeFormatting:b}of this._customAttributesHandlers)r(e,o)&&(b(e,n,i),t=!0);t||i.removeAttribute(e,n)}*_getFormattingItems(e){let o=this.editor.model,n=o.schema,i=t=>!!m(this._getFormattingAttributes(t));for(let t of e.getRanges())for(let r of t.getItems())n.isBlock(r)&&t.end.isTouching(o.createPositionAt(r,0))||i(r)&&(yield r);for(let t of e.getSelectedBlocks())i(t)&&(yield t);i(e)&&(yield e)}*_getFormattingAttributes(e){let o=this.editor.model.schema;for(let[n]of e.getAttributes()){for(let{isFormatting:t}of this._customAttributesHandlers)t(n,e)&&(yield n);let i=o.getAttributeProperties(n);i&&i.isFormatting&&(yield n)}}},I=class extends c{static get pluginName(){return"RemoveFormatEditing"}static get isOfficialPlugin(){return!0}init(){let e=this.editor;e.commands.add("removeFormat",new s(e))}},u=class extends c{static get requires(){return[I,l]}static get pluginName(){return"RemoveFormat"}static get isOfficialPlugin(){return!0}};export{u as RemoveFormat,s as RemoveFormatCommand,I as RemoveFormatEditing,l as RemoveFormatUI}; 2/*! Bundled license information: 3 4@ckeditor/ckeditor5-remove-format/dist/index.js: 5 (** 6 * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. 7 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options 8 *) 9*/ 10//# sourceMappingURL=@ckeditor$ckeditor5-remove-format$dist$index.js.(GANXKSUK).js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.